avalon.oniui
avalon.oniui copied to clipboard
Can not set default time for datepicker
Hi @shirlyLoveU,
In the datepicker.js, it's not possible to set default time.
Actually in the source code, https://github.com/RubyLouvre/avalon.oniui/blob/master/datepicker/avalon.datepicker.js#L164 I found that the hour and minite are set to be 0, in that way, I can not set default date+time.
you mean you need set default time? If so, then you just need set 'hour' and 'minute' seperately