diff options
author | 崖鹰 <zhao.wuz@alipay.com> | 2015-11-13 11:33:48 +0800 |
---|---|---|
committer | 崖鹰 <zhao.wuz@alipay.com> | 2015-11-13 11:33:48 +0800 |
commit | 02de449a0474765a4796fa607e7e3922252f574f (patch) | |
tree | dc37faf2f610343112ea1fc3707ad188092bd031 /src/locale | |
parent | 1f336fabc9135ac971e53d9c2ae407db69b8f096 (diff) | |
download | time-picker-02de449a0474765a4796fa607e7e3922252f574f.tar.gz time-picker-02de449a0474765a4796fa607e7e3922252f574f.tar.zst time-picker-02de449a0474765a4796fa607e7e3922252f574f.zip |
release 0.1.0
Diffstat (limited to 'src/locale')
-rw-r--r-- | src/locale/en_US.js | 9 | ||||
-rw-r--r-- | src/locale/zh_CN.js | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/src/locale/en_US.js b/src/locale/en_US.js new file mode 100644 index 0000000..252d3d2 --- /dev/null +++ b/src/locale/en_US.js | |||
@@ -0,0 +1,9 @@ | |||
1 | import enUs from 'gregorian-calendar-format/lib/locale/en_US'; | ||
2 | |||
3 | export default { | ||
4 | placeholderHHmmss: 'HH:MM:SS', | ||
5 | placeholderHHmm: 'HH:MM', | ||
6 | placeholdermmss: 'MM:SS', | ||
7 | clear: 'Clear', | ||
8 | format: enUs, | ||
9 | }; | ||
diff --git a/src/locale/zh_CN.js b/src/locale/zh_CN.js new file mode 100644 index 0000000..709cfb4 --- /dev/null +++ b/src/locale/zh_CN.js | |||
@@ -0,0 +1,9 @@ | |||
1 | import zhCn from 'gregorian-calendar-format/lib/locale/zh_CN'; | ||
2 | |||
3 | export default { | ||
4 | placeholderHHmmss: '时:分:秒', | ||
5 | placeholderHHmm: '时:分', | ||
6 | placeholdermmss: '分:秒', | ||
7 | clear: '清除', | ||
8 | format: zhCn, | ||
9 | }; | ||