mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 03:16:41 +08:00
b788948985
Makes en_US the new default locale
26 lines
1.0 KiB
YAML
26 lines
1.0 KiB
YAML
en_US:
|
|
dates:
|
|
# Use Moment.js format string: https://momentjs.com/docs/#/displaying/format/
|
|
short_date_no_year: "D MMM"
|
|
# Use Moment.js format string: https://momentjs.com/docs/#/displaying/format/
|
|
short_date: "D MMM, YYYY"
|
|
# Use Moment.js format string: https://momentjs.com/docs/#/displaying/format/
|
|
long_date: "MMMM D, YYYY h:mma"
|
|
|
|
datetime_formats: &datetime_formats
|
|
formats:
|
|
# Format directives: https://ruby-doc.org/core/Time.html#method-i-strftime
|
|
short: "%m-%d-%Y"
|
|
# Format directives: https://ruby-doc.org/core/Time.html#method-i-strftime
|
|
short_no_year: "%B %-d"
|
|
# Format directives: https://ruby-doc.org/core/Time.html#method-i-strftime
|
|
date_only: "%B %-d, %Y"
|
|
# Format directives: https://ruby-doc.org/core/Time.html#method-i-strftime
|
|
long: "%B %-d, %Y, %l:%M%P"
|
|
# Format directives: https://ruby-doc.org/core/Time.html#method-i-strftime
|
|
no_day: "%B %Y"
|
|
date:
|
|
<<: *datetime_formats
|
|
time:
|
|
<<: *datetime_formats
|