Upstream spencermountain/spacetime state of the touched files before 2331aa9f8f
This commit is contained in:
1 parent
bf7f44c584
commit
cdeb1866ab
2 files changed
+1
-15
No files matched your search
@@ -67,9 +67,8 @@ const minutes = function (s, n, goFwd) {
|
||||
|
||||
const hours = function (s, n, goFwd) {
|
||||
n = validate(n)
|
||||
// Clamp to 0-23: hour 24 is rejected by walkTo(), which nulls the epoch.
|
||||
if (n >= 24) {
|
||||
n = 23
|
||||
n = 24
|
||||
} else if (n < 0) {
|
||||
n = 0
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user