6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# File 'lib/gettext_simple_rails/translators/date_translator.rb', line 6
def translations
return {
"date" => {
"formats" => {
"default" => "%Y-%m-%d",
"short" => "%b %d",
"long" => "%B %d, %Y"
},
"day_names" => [0, 1, 2, 3, 4, 5, 6],
"abbr_day_names" => [0, 1, 2, 3, 4, 5, 6],
"month_names" => [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
"abbr_month_names" => [0 , 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12],
"order" => [0, 1, 2]
},
"time" => {
"formats" => {
"default" => "%a, %d %b %Y %H:%M:%S %z",
"short" => "%d %b %H:%M",
"long" => "%B %d, %Y %H:%M"
},
"am" => "am",
"pm" => "pm"
}
}
end
|