mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
Add comment
This commit is contained in:
parent
93834dc197
commit
a68c4a886d
@ -11,6 +11,8 @@ var DateTimeFormat = require('gregorian-calendar-format');
|
||||
require('gregorian-calendar-format/lib/locale/zh-cn').shortMonths =
|
||||
['1月', '2月', '3月', '4月', '5月', '6月',
|
||||
'7月', '8月', '9月', '10月', '11月', '12月'];
|
||||
// 以下两行代码
|
||||
// 给没有初始值的日期选择框提供本地化信息
|
||||
var defaultCalendarValue = new GregorianCalendar(zhCn);
|
||||
defaultCalendarValue.setTime(Date.now());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user