Benjy Cui
4026221d45
deps: hello moment ( #2887 )
* deps: upgrade TimePicker
* deps: upgrade DatePicker
* deps: upgrade Calendar
* fix: moment should work with LocaleProvider
* feat: update API of TimePicker
* feat: update Calendar's APIs
* feat: update DatePicker's APIs
* doc: update demo
* revert: add dateString and timeString and so on
* feat: add Calendar[defaultValue]
* feat: add defaultPickerValue
* docs: update docs about date picker
* feat: set moment locale to zh-cn automatically
8 years ago
afc163
87e6ec8940
fix date-picker demo
8 years ago
RaoHai
7dd4a019d5
DatePicker 组件优化
+ DatePicker showTime: 面板上的日期展示输入框统一为一个,格式和外面的输入框同步,并且支持手动修改。
面板上的 TimePicker
+ DatePicker showTime: 输入框不再展示,改造为『选择时间』,点击后不再展开浮层,直接盖住日期区域。
+ RangePicker showTime : 只选中开始日期,“确定”和“选择时间”灰置。 如未选择日期直接选择时间,开始日期和结束日期默认选中当天。
+ RangePicker showTime : 点击框外和确定均为确定操作。
+ RangePicker showTime : 在时间页面,开始时间的默认状态为当前时间,结束时间的默认状态跟随开始时间。
+ RangePicker showTime : 开始时间的选择范围没有限制,结束时间的选择范围必须大于等于开始时间。
+ RangePicker showTime : 当开始时间选择了结束时间之后的时间(发生冲突),结束时间则自动切换到与开始时间相同的时间。
8 years ago
ddcat1115
88f77f85ca
docs: translation-DatePicker ( #1932 )
9 years ago
afc163
bec5d311a0
Improve DatePicker start-end demo expierence
9 years ago
Benjy Cui
2144349741
style: enable react/jsx-closing-bracket-location
9 years ago
Benjy Cui
ecaa6c56c3
style: enable comma-dangle
9 years ago
Benjy Cui
df3ba36720
docs: remove useless newline in documentation
9 years ago
Benjy Cui
03d09b66e8
docs: update demo format
9 years ago
Benjy Cui
fd3406bd03
style: enable react/jsx-no-bind
9 years ago
Benjy Cui
aa5c4f9595
style: update code style to please lint
9 years ago
Benjy Cui
209170e813
style: update demo code style to please lint
9 years ago
afc163
91bd7f22c0
use mountNode replace the long getElementById
9 years ago
afc163
cbf7d27664
improve rangepicker and add showTime prop
9 years ago
afc163
d759d1f489
Datepicker => DatePicker, Timepicker => TimePicker
9 years ago
afc163
16abf46071
Fix markdown eslint errors, update .eslintrc
9 years ago
afc163
e4b0454f8b
update datepicker demo
9 years ago
yiminghe
052e8ee0f4
upgrade
9 years ago
afc163
753c01ae18
ES6 syntax for demo code
fix antd.notification
9 years ago
afc163
17afda5028
update demo start-end
9 years ago
afc163
875635e027
Fix datepicker format
9 years ago
yiminghe
fdee139459
add className for table
9 years ago