diff --git a/core/src/locale/cn.ts b/core/src/locale/cn.ts index 0cd88d7b..6c0d959e 100644 --- a/core/src/locale/cn.ts +++ b/core/src/locale/cn.ts @@ -37,6 +37,10 @@ const locale: Localization = { '*': { prefix: ':' }, empty: { text: '每分钟' }, }, + second: { + '*': { prefix: ':' }, + empty: { text: '每秒' }, + }, }, minute: { text: '分', @@ -78,6 +82,29 @@ const locale: Localization = { '*': { prefix: '和' }, }, }, + + //quartz format + 'q-second': { + text: '秒', + }, + 'q-minute': { + text: '分钟', + second: { + '*': { + prefix: ':', + suffix: '秒', + }, + empty: { text: '每' }, + }, + }, + 'q-hour': { + text: '小时', + minute: { + '*': { + prefix: ':', + }, + }, + }, } export default locale