avalon.oniui icon indicating copy to clipboard operation
avalon.oniui copied to clipboard

Can not set default time for datepicker

Open 0x333333 opened this issue 11 years ago • 1 comments

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.

0x333333 avatar Oct 20 '14 10:10 0x333333

you mean you need set default time? If so, then you just need set 'hour' and 'minute' seperately

ShirlyFE avatar Apr 08 '15 02:04 ShirlyFE