feat: date and time picker (#13985)

This commit is contained in:
Wu Tianwei 2025-02-19 10:56:18 +08:00 • committed by GitHub
commit 19d413ac1e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
39 changed files with 1234 additions and 1 deletions

37
web/i18n/zh-Hans/time.ts Normal file
View file

@ -0,0 +1,37 @@
const translation = {
daysInWeek: {
Sun: '日',
Mon: '一',
Tue: '二',
Wed: '三',
Thu: '四',
Fri: '五',
Sat: '六',
},
months: {
January: '一月',
February: '二月',
March: '三月',
April: '四月',
May: '五月',
June: '六月',
July: '七月',
August: '八月',
September: '九月',
October: '十月',
November: '十一月',
December: '十二月',
},
operation: {
now: '此刻',
ok: '确定',
cancel: '取消',
},
title: {
pickTime: '选择时间',
},
pickDate: '选择日期',
defaultPlaceholder: '请选择时间...',
}
export default translation