Skip to content

Commit

Permalink
fed up of 12-hour default
Browse files Browse the repository at this point in the history
  • Loading branch information
4gra committed Apr 7, 2021
1 parent 142ccc6 commit 42b103b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client/clock-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ client.render = function render () {
};

function updateClock () {
let timeDivisor = parseInt(client.settings.timeFormat ? client.settings.timeFormat : 12, 10);
let timeDivisor = parseInt(client.settings.timeFormat ? client.settings.timeFormat : 24, 10);
let today = new Date()
, h = today.getHours() % timeDivisor;
if (timeDivisor === 12) {
Expand Down

0 comments on commit 42b103b

Please sign in to comment.