ionic-timepicker
ionic-timepicker copied to clipboard
24h clock: 00:00 turned into 12:00
Problem:
- To solve #80, this code was added
- The added code should only affect 12h clock, otherwise a valid
00:00
in 24h mode turns into12:00
Possible solution: Move code into 12h if-block.
First of all, thank you for your work ! @rajeshwarpatlolla I'm facing the same issue here, any planned release fixing this issue ?
@daweedm https://github.com/rajeshwarpatlolla/ionic-timepicker/issues/80#issuecomment-231455076
if (config.format==12 && $scope.time.hours =='00'){
$scope.time.hours=12;
}
I mean is the author of the plugin planning a release fixing this issue in the master branch ? It's not a very maintainable way to patch the code myself directly in the source code