Skip to content

Commit

Permalink
Update clock.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ANEP-ET authored Sep 15, 2018
1 parent 6d3fa28 commit be1c1ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions res/ui_front/js/clock.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@
var second = today.getSeconds();

if (hour > 12) {
AMPM = "오후";
AMPM = "PM";
hour = hour - 12;
}

else if (hour == 0) {
AMPM = "오전";
AMPM = "AM";
hour = hour + 12;
}

else if (hour == 12) {
AMPM = "오후";
AMPM = "PM";
}

else {
AMPM = "오전";
AMPM = "AM";
}

minute = checkTime(minute);
Expand Down

0 comments on commit be1c1ce

Please sign in to comment.