diff options
author | Chris McGrath <chris@octopod.info> | 2013-01-17 15:21:26 +0000 |
---|---|---|
committer | Chris McGrath <chris@octopod.info> | 2013-01-17 15:21:26 +0000 |
commit | 6bb784eab0d286d1966c12e1bacc793113d6fbae (patch) | |
tree | 436d9680844b511a16c1ccef6f54671df8f050b3 /activesupport/lib | |
parent | 038574a5385e07f1091e355b78558821e123a48c (diff) | |
download | rails-6bb784eab0d286d1966c12e1bacc793113d6fbae.tar.gz rails-6bb784eab0d286d1966c12e1bacc793113d6fbae.tar.bz2 rails-6bb784eab0d286d1966c12e1bacc793113d6fbae.zip |
Remove i18n symbol dependency
date.order is the only key in rails i18n that is required to be a
symbol. This patch allows for symbols or strings which means:
* No requirement for symbol type in .yml files. A future
YAML.safe_load wouldn't need to load symbols
* Rails could actually use json rather than yml as the backend
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/locale/en.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/locale/en.yml b/activesupport/lib/active_support/locale/en.yml index f4900dc935..a4563ace8f 100644 --- a/activesupport/lib/active_support/locale/en.yml +++ b/activesupport/lib/active_support/locale/en.yml @@ -16,9 +16,9 @@ en: abbr_month_names: [~, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec] # Used in date_select and datetime_select. order: - - :year - - :month - - :day + - year + - month + - day time: formats: |