angular-material-components
angular-material-components copied to clipboard
Hours input changes 12 to 00 even when enableMeridian is true
Is there a way to force the hours input to a 12 hour clock? If one were to set the value to 12, it automatically changes to 00 when it loses focus even when enableMeridian is set to true. This behavior is present in your StackBlitz. Also, if I'm using this control to edit a datetime value say "8/4/2020 12:00 pm" the time portion of the control defaults to 12:00 AM
Created pull request #131, now waiting for merge.
When enableMeridian is true then it should now correctly change 00 to 12, when changing date the time portion won't change and also the input value will be shown and interpreted correctly.
Running into this issue as well. Would love to see this PR get merged.
Please merge this to make my life just 1% easier
@MarcBate Sorry for my late reply. I will check it out and try to merge this.
@MarcBate Sorry for my late reply. I will check it out and try to merge this.
Do you think you can get to this today? We are rolling out a version and would love to get this fix in there. When a user types 12 for the hour it changes to 00.
@h2qutc Can you merge this and the other important PRs that were submitted? If maintaining the project is too time-consuming, maybe it's a good idea to add an extra maintainer to help you out.
@h2qutc Could you please merge this?
@h2qutc Can you please merge this?
@h2qutc can we know when the pr might be merged?
@h2qutc Can you please merge this PR
@h2qutc can you merge this one too? Or assign a maintainer to do it...
@coyoteecd Hi, the new version (5.1.1 for Angular 11, 6.0.3 for Angular 12) with the correction of this bug has already been released. Feel free to check it out and let me know if it works.
6.0.3 fixed the issue when typing 12 would change to 0, but when selecting 12:45 am for example the text displayed shows 24:45, which isn't a time