md2 icon indicating copy to clipboard operation
md2 copied to clipboard

Bug on datepicker: Incrementing date when date format is "MM/dd/y HH:mm A" and time is set to 12:00

Open harudragneel opened this issue 9 years ago • 1 comments

Bug

Date picker value increments after clicking(focus) on input container.

date format used: MM/dd/y HH:mm A Time is set to: 12:00 (AM or PM)

*also replicated on your demo when tested

What is the expected behavior?

value should not increment even if it is stress tested on the input container.

What is the current behavior?

currently, the value increments whenever you clicked on the input container. the A format toggles AM to PM (and so on) everytime you click on the input thus, increase the value of the date.

Which versions of Angular, MD2, OS, browsers are affected?

Running Angular 2/4, md2 0.0.29, Ubuntu 17.10

Thanks!

harudragneel avatar Nov 28 '17 08:11 harudragneel

I am experiencing the same issue.

bigal41 avatar Jan 16 '18 20:01 bigal41