Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gramcracker40 committed May 6, 2023
2 parents 302cb7e + 08e6be9 commit e28ba71
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion UserInterface/js/utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,13 @@ export function toStandardTime(_hours) {
let hours = _hours;
let amPm = '';
if (hours > 12) {
amPm = 'AM';
amPm = 'PM';
hours -= 12;
} else if (hours == 0) {
amPm = 'AM';
hours = "12";
}else if (hours < 12) {
amPm = 'AM';
}else{
amPm = 'PM';
}
Expand Down

0 comments on commit e28ba71

Please sign in to comment.