Skip to content

Instantly share code, notes, and snippets.

@jzajpt
Created February 8, 2009 11:03
Show Gist options
  • Save jzajpt/60343 to your computer and use it in GitHub Desktop.
Save jzajpt/60343 to your computer and use it in GitHub Desktop.
# cs_active_support.yml
cs:
date:
formats:
# Use the strftime parameters for formats.
# When no format has been given, it uses default.
# You can provide other formats here if you like!
default: "%d. %m. %Y"
short: "%d. %m. %y"
long: "%A, %d. %B %Y"
day_names: [neděle, pondělí, úterý, středa, čtvrtek, pátek, sobota]
abbr_day_names: [ne, po, út, st, čt, pá, so]
# Don't forget the nil at the beginning; there's no such thing as a 0th month
month_names: [~, ledna, února, března, dubna, května, června, července, srpna, září, října, listopadu, prosince]
abbr_month_names: [~, Led, Úno, Bře, Dub, Kvě, Čer, Črv, Srp, Žář, Říj, Lis, Pro]
# Used in date_select and datime_select.
order: [ :day, :month, :year ]
time:
formats:
default: "%a, %d %b %Y %H:%M:%S"
short: "%d %b %H:%M"
long: "%B %d, %Y %H:%M"
am: "dop."
pm: "odp."
# Used in array.to_sentence.
support:
array:
words_connector: ", "
two_words_connector: " and "
last_word_connector: ", and "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment