mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 23:13:40 +08:00
bb4e965a66
This adds a site setting (default off) to optionally show a user's local time and timezone in their user card. For example, I live in Brisbane, and if at 3:30PM my time I were to open a user who lives in California's card I would see 22:30 (PST).
43 lines
2.2 KiB
YAML
43 lines
2.2 KiB
YAML
en_US:
|
|
js:
|
|
dates:
|
|
# Use Moment.js format string: https://momentjs.com/docs/#/displaying/format/
|
|
time: "h:mm a"
|
|
# Use Moment.js format string: https://momentjs.com/docs/#/displaying/format/
|
|
time_with_zone: "hh:mm a (z)"
|
|
# Use Moment.js format string: https://momentjs.com/docs/#/displaying/format/
|
|
time_short_day: "ddd, h:mm a"
|
|
# Use Moment.js format string: https://momentjs.com/docs/#/displaying/format/
|
|
timeline_date: "MMM YYYY"
|
|
# Use Moment.js format string: https://momentjs.com/docs/#/displaying/format/
|
|
long_no_year: "MMM D, h:mm a"
|
|
# Use Moment.js format string: https://momentjs.com/docs/#/displaying/format/
|
|
long_no_year_no_time: "MMM D"
|
|
# Use Moment.js format string: https://momentjs.com/docs/#/displaying/format/
|
|
full_no_year_no_time: "MMMM Do"
|
|
# Use Moment.js format string: https://momentjs.com/docs/#/displaying/format/
|
|
long_with_year: "MMM D, YYYY h:mm a"
|
|
# Use Moment.js format string: https://momentjs.com/docs/#/displaying/format/
|
|
long_with_year_no_time: "MMM D, YYYY"
|
|
# Use Moment.js format string: https://momentjs.com/docs/#/displaying/format/
|
|
full_with_year_no_time: "MMMM Do, YYYY"
|
|
# Use Moment.js format string: https://momentjs.com/docs/#/displaying/format/
|
|
long_date_with_year: "MMM D, 'YY LT"
|
|
# Use Moment.js format string: https://momentjs.com/docs/#/displaying/format/
|
|
long_date_without_year: "MMM D, LT"
|
|
# Use Moment.js format string: https://momentjs.com/docs/#/displaying/format/
|
|
long_date_with_year_without_time: "MMM D, 'YY"
|
|
# Use Moment.js format string: https://momentjs.com/docs/#/displaying/format/
|
|
long_date_without_year_with_linebreak: "MMM D <br/>LT"
|
|
# Use Moment.js format string: https://momentjs.com/docs/#/displaying/format/
|
|
long_date_with_year_with_linebreak: "MMM D, 'YY <br/>LT"
|
|
|
|
tiny:
|
|
# Use Moment.js format string: https://momentjs.com/docs/#/displaying/format/
|
|
date_month: "MMM D"
|
|
# Use Moment.js format string: https://momentjs.com/docs/#/displaying/format/
|
|
date_year: "MMM 'YY"
|
|
medium:
|
|
# Use Moment.js format string: https://momentjs.com/docs/#/displaying/format/
|
|
date_year: "MMM D, 'YY"
|