Created
August 6, 2014 18:16
-
-
Save clemens/10206f8aaab38f3398b2 to your computer and use it in GitHub Desktop.
Example pulled from the delocalize readme for Ruby 1.9 compatible YAML formatting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
en: | |
number: | |
format: | |
separator: '.' | |
delimiter: ',' | |
precision: 2 | |
date: | |
input: | |
formats: | |
- :default | |
- :long | |
- :short | |
formats: | |
default: "%m/%d/%Y" | |
short: "%b %e" | |
long: "%B %e, %Y" | |
only_day: "%e" | |
day_names: | |
- Sunday | |
- Monday | |
- Tuesday | |
- Wednesday | |
- Thursday | |
- Friday | |
- Saturday | |
abbr_day_names: | |
- Sun | |
- Mon | |
- Tue | |
- Wed | |
- Thur | |
- Fri | |
- Sat | |
month_names: | |
- ~ | |
- January | |
- February | |
- March | |
- April | |
- May | |
- June | |
- July | |
- August | |
- September | |
- October | |
- November | |
- December | |
abbr_month_names: | |
- ~ | |
- Jan | |
- Feb | |
- Mar | |
- Apr | |
- May | |
- Jun | |
- Jul | |
- Aug | |
- Sep | |
- Oct | |
- Nov | |
- Dec | |
order: | |
- :month | |
- :day | |
- :year | |
time: | |
input: | |
formats: | |
- :default | |
- :long | |
- :short | |
- :time | |
formats: | |
default: "%m/%d/%Y %I:%M%p" | |
short: "%B %e %I:%M %p" | |
long: "%A, %B %e, %Y %I:%M%p" | |
time: "%l:%M%p" | |
am: "am" | |
pm: "pm" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment