From 037a4a19d7dbaa4c73dfca4ff632f988c002d49e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B4=96=E9=B9=B0?= Date: Fri, 20 Nov 2015 14:02:24 +0800 Subject: Updates --- examples/pick-time.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'examples/pick-time.html') diff --git a/examples/pick-time.html b/examples/pick-time.html index 9d81c49..6f4b1f8 100644 --- a/examples/pick-time.html +++ b/examples/pick-time.html @@ -2,7 +2,7 @@ - pick-time.js - example - rc-time-picker@0.6.0 + pick-time.js - example - rc-time-picker@0.7.0 @@ -257,31 +257,31 @@ Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-lic
-

rc-time-picker@0.6.0

+

rc-time-picker@0.7.0

React TimePicker

-
import 'rc-time-picker/assets/index.css';
+  
import 'rc-time-picker/assets/index.css';
 
-import React from 'react';
-import ReactDom from 'react-dom';
+import React from 'react';
+import ReactDom from 'react-dom';
 
-import GregorianCalendar from 'gregorian-calendar';
-import DateTimeFormat from 'gregorian-calendar-format';
-import zhCn from 'gregorian-calendar/lib/locale/zh_CN';
+import GregorianCalendar from 'gregorian-calendar';
+import DateTimeFormat from 'gregorian-calendar-format';
+import zhCn from 'gregorian-calendar/lib/locale/zh_CN';
 
-import TimePicker from 'rc-time-picker';
-import TimePickerLocale from 'rc-time-picker/lib/locale/zh_CN';
+import TimePicker from 'rc-time-picker';
+import TimePickerLocale from 'rc-time-picker/lib/locale/zh_CN';
 
 const formatter = new DateTimeFormat('HH:mm:ss');
 
 const now = new GregorianCalendar(zhCn);
 now.setTime(Date.now());
 
-function onChange(v) {
+function onChange(v) {
   console.log(v && formatter.format(v));
 }
 
-- 
cgit v1.2.3