DateTimePicker
DateTimePicker copied to clipboard
DateTime Model's date format has some issues.
dateTimeFormat option's default value yyyy-MM-dd hh:mm:ss does not match my expect value 2016-04-22 15:15:15. It is 2016-Apr-22 15:15:15.
A valid dateTimeFormat can either be yyyy-MM-dd hh:mm:ss AA or yyyy-MM-dd HH:mm:ss, the values set in the input boxes will be "2016-04-22 03:15:15 PM" or "2016-04-22 15:15:15".
Yeah~ It is correct in input boxes, but it is great that the dtpicker-comp month input box will auto match the dateTimeFormat option. What the best is like the picture below.

Now I change the shortMonthNames is ["01", "02", "03", "04", "05", ... ], but the code style is not graceful. The formatHumanDate can default match the dateTimeFormat. If it will be that, I think it can be more cooler and powerful! 😄
Thank you for suggestion. We had not given this option because it will be difficult for users to differentiate between Date and Month components, in case of of formats like "MM-dd-yyyy" and "dd-MM-yyyy". We will try to add this later.