demarches-normaliennes/config/locales/time_format.en.rb

12 lines
320 B
Ruby
Raw Normal View History

{
:en => {
:time => {
:formats => {
:message_date => lambda { |time, _| "%B #{time.day.ordinalize} at %H:%M" },
2022-10-28 15:45:04 +02:00
:message_date_with_year => lambda { |time, _| "%B #{time.day.ordinalize} %Y at %H:%M" },
:message_date_without_time => lambda { |_time, _| "%Y/%m/%d" }
}
}
}
}