22 lines
498 B
Ruby
22 lines
498 B
Ruby
# frozen_string_literal: true
|
|
|
|
{
|
|
:en => {
|
|
:time => {
|
|
:formats => {
|
|
:message_date => lambda { |time, _| "%B #{time.day.ordinalize} at %H:%M" },
|
|
:message_date_with_year => lambda { |time, _| "%B #{time.day.ordinalize} %Y at %H:%M" },
|
|
:message_date_without_time => lambda { |_time, _| "%Y/%m/%d" }
|
|
}
|
|
},
|
|
|
|
datetime: {
|
|
distance_in_words: {
|
|
x_weeks: {
|
|
one: "1 week",
|
|
other: "%{count} weeks"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|