diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/pick-time.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pick-time.js b/examples/pick-time.js index d5e3715..70de23d 100644 --- a/examples/pick-time.js +++ b/examples/pick-time.js | |||
@@ -15,8 +15,8 @@ const formatter = new DateTimeFormat('HH:mm:ss'); | |||
15 | const now = new GregorianCalendar(zhCn); | 15 | const now = new GregorianCalendar(zhCn); |
16 | now.setTime(Date.now()); | 16 | now.setTime(Date.now()); |
17 | 17 | ||
18 | function onChange(v) { | 18 | function onChange(value) { |
19 | console.log(v && formatter.format(v)); | 19 | console.log(value && formatter.format(value)); |
20 | } | 20 | } |
21 | 21 | ||
22 | ReactDom.render( | 22 | ReactDom.render( |