mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 19:54:14 +08:00
UX: improves dates display in emails (#6805)
This commit is contained in:
@ -3,3 +3,4 @@ en:
|
||||
discourse_local_dates_enabled: "Enable the discourse-local-dates feature. This will add support to local timezone aware dates in posts using the [date] element."
|
||||
discourse_local_dates_default_formats: "Frequently used date time formats, see: <a target='_blank' rel='noopener' href='https://momentjs.com/docs/#/parsing/string-format/'>momentjs string format</a>"
|
||||
discourse_local_dates_default_timezones: "Default list of timezones, must be a valid <a target='_blank' rel='noopener' href='https://en.wikipedia.org/wiki/List_of_tz_database_time_zones'>TZ</a>"
|
||||
discourse_local_dates_email_format: "Format used to display a date in emails."
|
||||
|
@ -1,4 +1,7 @@
|
||||
plugins:
|
||||
discourse_local_dates_email_format:
|
||||
default: "YYYY-MM-DDTHH:mm:ss[Z]"
|
||||
client: true
|
||||
discourse_local_dates_enabled:
|
||||
default: true
|
||||
client: true
|
||||
|
Reference in New Issue
Block a user