ng2-ui / datetime-picker

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

Changes to improve currentTime method #195

Open marpereira opened 7 years ago

marpereira commented 7 years ago

This changes will improve the method of selectCurrentTime() in order to meet these use cases:

  1. When users click on current Time button the result date not only needs to be present hour and minute but also year, month and day.

  2. At some business logic, developers want that when users click on current Time button the result time needs to be at UTC.

  3. Developers could use this two use cases at same time. IE: When users click on current Time button the result date not only needs to be present hour and minute in UTC but also year, month and day (at UTC).

SecretGibbon commented 7 years ago

When these changes will be merged?

DucNHoang commented 6 years ago

These changes are actually useful please merge.