diff options
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 | }; | ||