diff options
Diffstat (limited to 'pendulum/locales/zh/custom.py')
-rw-r--r-- | pendulum/locales/zh/custom.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pendulum/locales/zh/custom.py b/pendulum/locales/zh/custom.py new file mode 100644 index 0000000..eb9bb81 --- /dev/null +++ b/pendulum/locales/zh/custom.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + + +""" +zh custom locale file. +""" + +translations = { + # Relative time + "after": "{time}后", + "before": "{time}前", + # Date formats + "date_formats": { + "LTS": "Ah点m分s秒", + "LT": "Ah点mm分", + "LLLL": "YYYY年MMMD日ddddAh点mm分", + "LLL": "YYYY年MMMD日Ah点mm分", + "LL": "YYYY年MMMD日", + "L": "YYYY-MM-DD", + }, +} |