Skip to content

Commit d4f0d45

Browse files
Update apps/multitimer/app.js
Co-authored-by: Rob Pilling <[email protected]>
1 parent 1947af9 commit d4f0d45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/multitimer/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ function editAlarm(idx, a) {
658658
format: v => {
659659
// Show 12h or 24h based on locale settings
660660
const mer = require("locale").meridian(new Date(1999,1,1,v,0,0));
661-
return (!mer) ? v : (v%12||12) + mer;
661+
return mer ? (v%12||12) + mer : v;
662662
},
663663
onchange: v => {
664664
t.hrs = v;

0 commit comments

Comments
 (0)