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

12 lines
360 B
Ruby
Raw Normal View History

{
:fr => {
:time => {
:formats => {
:message_date => lambda { |time, _| "le #{time.day == 1 ? '1er' : time.day} %B à %H h %M" },
2022-10-28 15:45:04 +02:00
:message_date_with_year => lambda { |time, _| "le #{time.day == 1 ? '1er' : time.day} %B %Y à %H h %M" },
:message_date_without_time => lambda { |_time, _| "%d/%m/%Y" }
}
}
}
}