From a68c4a886d382637c7088ec6979ff523c218d5a4 Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 17 Jun 2015 19:57:05 +0800 Subject: [PATCH] Add comment --- components/datepicker/index.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/datepicker/index.jsx b/components/datepicker/index.jsx index 55431cbfce..aa960134ee 100644 --- a/components/datepicker/index.jsx +++ b/components/datepicker/index.jsx @@ -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());