Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time selection uses both 12 hour and 24 hour format. #206

Open
TwoRice opened this issue Aug 4, 2017 · 7 comments
Open

Time selection uses both 12 hour and 24 hour format. #206

TwoRice opened this issue Aug 4, 2017 · 7 comments

Comments

@TwoRice
Copy link

TwoRice commented Aug 4, 2017

When selecting a time, and choosing the hours the time is in 24 hr format and then when selecting the minutes it converts to 12 hr format. This is really annoying and confusing; the first time I used it I thought something had went wrong, because I had selected 1800, but I thought I was then selecting minutes for 0600. The time format should be consistent throughout the selection process.

@jlubeck
Copy link

jlubeck commented Aug 7, 2017

Same issue here. Were you able to solve it?

@TwoRice
Copy link
Author

TwoRice commented Aug 7, 2017

No, I'm not currently using the component, just noticed it when I was looking for time pickers. I reckon its a design flaw rather than a bug.

@pmaiya
Copy link

pmaiya commented Aug 15, 2017

I am having the same issue. Any help here would be great.

@pmaiya
Copy link

pmaiya commented Aug 15, 2017

I found a solution from here : #2
Add a config to your module like this:
angular .module('myApp', ['moment-picker']) .config(['momentPickerProvider', function (momentPickerProvider) { momentPickerProvider.options({ minutesFormat: 'HH:mm' }); }]);

@Alka2209
Copy link

Hi. I am using Amazing timepicker in angular4. here, i stuck in one point. where i want to give the time in 12hrs format. as by default amazing timepicker is wrking in 24hrs format. i want if users select 4:30pm then it shows 4:30pm in watch not 16:30.

please help me out asap.

@Alka2209
Copy link

I found a solution from here : #2
Add a config to your module like this:
angular .module('myApp', ['moment-picker']) .config(['momentPickerProvider', function (momentPickerProvider) { momentPickerProvider.options({ minutesFormat: 'HH:mm' }); }]);

hey can u help me?
Hi. I am using Amazing timepicker in angular4. here, i stuck in one point. where i want to give the time in 12hrs format. as by default amazing timepicker is wrking in 24hrs format. i want if users select 4:30pm then it shows 4:30pm in watch not 16:30.

please help me out asap

@kshitijak-iprogrammer
Copy link

I found a solution from here : #2
Add a config to your module like this:
angular .module('myApp', ['moment-picker']) .config(['momentPickerProvider', function (momentPickerProvider) { momentPickerProvider.options({ minutesFormat: 'HH:mm' }); }]);

hey can u help me?
Hi. I am using Amazing timepicker in angular4. here, i stuck in one point. where i want to give the time in 12hrs format. as by default amazing timepicker is wrking in 24hrs format. i want if users select 4:30pm then it shows 4:30pm in watch not 16:30.

please help me out asap

did u got any solution??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants