ionic-timepicker icon indicating copy to clipboard operation
ionic-timepicker copied to clipboard

24h clock: 00:00 turned into 12:00

Open philonor opened this issue 8 years ago • 3 comments

Problem:

  • To solve #80, this code was added image
  • The added code should only affect 12h clock, otherwise a valid 00:00 in 24h mode turns into 12:00

Possible solution: Move code into 12h if-block.

philonor avatar Sep 28 '16 14:09 philonor

First of all, thank you for your work ! @rajeshwarpatlolla I'm facing the same issue here, any planned release fixing this issue ?

daweedm avatar May 10 '17 19:05 daweedm

@daweedm https://github.com/rajeshwarpatlolla/ionic-timepicker/issues/80#issuecomment-231455076

if (config.format==12 && $scope.time.hours =='00'){
$scope.time.hours=12;
}

philonor avatar May 11 '17 09:05 philonor

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

daweedm avatar May 11 '17 21:05 daweedm