diff options
Diffstat (limited to 'pendulum/locales/en/custom.py')
-rw-r--r-- | pendulum/locales/en/custom.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pendulum/locales/en/custom.py b/pendulum/locales/en/custom.py new file mode 100644 index 0000000..9e631a2 --- /dev/null +++ b/pendulum/locales/en/custom.py @@ -0,0 +1,27 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + + +""" +en custom locale file. +""" + +translations = { + "units": {"few_second": "a few seconds"}, + # Relative time + "ago": "{} ago", + "from_now": "in {}", + "after": "{0} after", + "before": "{0} before", + # Ordinals + "ordinal": {"one": "st", "two": "nd", "few": "rd", "other": "th"}, + # Date formats + "date_formats": { + "LTS": "h:mm:ss A", + "LT": "h:mm A", + "L": "MM/DD/YYYY", + "LL": "MMMM D, YYYY", + "LLL": "MMMM D, YYYY h:mm A", + "LLLL": "dddd, MMMM D, YYYY h:mm A", + }, +} |