Skip to content

Commit 4d7abab

Browse files
committed
[bug] fix clock hours as words when not set to 24 hours
1 parent b02e1d3 commit 4d7abab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/js/clock.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ var clock = (function(){
3434
if(!state.get().header.clock.hour24.show&&timeDateNow.hours()>12){
3535
timeStrings.hours=timeStrings.hours-12;
3636
};
37-
timeStrings.hours=helper.toWords(timeDateNow.hours());
37+
timeStrings.hours=helper.toWords(timeStrings.hours);
3838
if(state.get().header.clock.hour24.show&&timeDateNow.hours()>0&&timeDateNow.hours()<10){
3939
timeStrings.hours="Zero "+timeStrings.hours;
4040
};

0 commit comments

Comments
(0)