forked from plusonelabs/calendar-widget
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Date format preference dialog for general usage #7
Labels
enhancement
New feature or request
Comments
This was referenced Feb 8, 2020
yvolk
added a commit
that referenced
this issue
Feb 12, 2020
yvolk
added a commit
that referenced
this issue
Feb 13, 2020
… number of letters is 5 (e.g. bbbbb ) then Yesterday, Today and Tomorrow are used for these close days.
yvolk
added a commit
that referenced
this issue
Feb 13, 2020
…e. Date may be shown before time in the "Time below title" layout
yvolk
added a commit
that referenced
this issue
Feb 15, 2020
yvolk
added a commit
that referenced
this issue
Feb 15, 2020
yvolk
added a commit
that referenced
this issue
Feb 15, 2020
Released in v.4.0.6 |
yvolk
added a commit
that referenced
this issue
Mar 13, 2020
… and Tomorrow". No additional numbers for farther days are being added in this format. Add "BBB" and "BBBB" custom patterns. "BBB" stands for adding "Yesterday, Today and Tomorrow" only. "BBBB", in addition to it, adds "N days ago" and "in N days" for farther days.
yvolk
added a commit
that referenced
this issue
Mar 14, 2020
…e first non empty is shown. Add another Pattern example.
yvolk
added a commit
that referenced
this issue
Mar 14, 2020
…s to event" substitution into the pattern. Now comma disappears with disappearing "Number of days to event" string
yvolk
added a commit
that referenced
this issue
Mar 14, 2020
… days" and "N days ago" instead of (confusing) numbers without any words
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current implementation
The "Date format preference dialog" allows to select date format from several options (including hiding date completely) or to define your own custom date format for use in a Widget header, Day header or an Event entry.
Three separate settings cover many user requests that we received during several years. Enjoy!
Custom format allows any date patterns, described in the Android documentation. In addition, "b" letter(s) can be used to have in the formatted text "Number of days to event" also.
The Date format preference dialog:
And this is a widget with all three settings customized:
Initial thoughts
We have date shown in different places of a widget. And in each place we would like to change the date format. This means that we need to create some universal settings dialog, which could be reused to set date formats separately:
Corresponding setting should allow to extend existing options so that we can have these options:
The text was updated successfully, but these errors were encountered: