Skip to content

Commit

Permalink
feat(dailyInterval): fix regex
Browse files Browse the repository at this point in the history
  • Loading branch information
mezotv committed Aug 24, 2023
1 parent 20d1eb5 commit 59ef916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/buttons/dailyInterval.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const modalObject = {
};

function isFormat(str) {
return /^(?:[01]\d|2[0-3]):(?:00|30)$/.test(str);
return /^(?:[01]\d|2[0-4]):(?:00|30)$/.test(str);
}

module.exports = {
Expand Down

0 comments on commit 59ef916

Please sign in to comment.