md-date-time-picker icon indicating copy to clipboard operation
md-date-time-picker copied to clipboard

PM is not maintained in when initial time value is pm on init

Open asqwrd opened this issue 8 years ago • 2 comments

When i initialize the timepicker object with a time in the evening, for example 5:30pm, when i change the hour to 12 i.e. 12:30 and click ok the time comes back as 12:30am instead of 12:30pm

asqwrd avatar Oct 14 '16 16:10 asqwrd

@asqwrd does it maintain am even when reopened or stays as am?

puranjayjain avatar Oct 15 '16 04:10 puranjayjain

If the time is pm then when you open it it maintains pm but as soon as i change the hour to 12 and press ok it switches to am and returns the time value in am

asqwrd avatar Oct 17 '16 03:10 asqwrd