ng2-ui / datetime-picker

Angular2 DateTime Picker
https://ng2-ui.github.io/#/datetime-picker
MIT License
121 stars 62 forks source link

overwrite selectCurrentTime function #191

Open marpereira opened 7 years ago

marpereira commented 7 years ago

On this version, the function 'selectCurrentTime' only affect Minutes and Hours value.

I need to make my own function to make sure that result date are in UTC and gets Day, Mouth, Year.

Can improve this to a function like parse/formatDate that we could overwrite in module.ts?

Thanks, MP