Skip to content

Commit 064ca41

Browse files
authored
Merge pull request #951 from tjjevans1/bugfix/946-time-steps
2 parents c85225c + d6c396a commit 064ca41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/utility/calendar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export function iterateTimes(
7979

8080
if (timeSteps[unit] && timeSteps[unit] > 1) {
8181
const value = time.get(unit)
82-
time.set(unit, value - (value % timeSteps[unit]))
82+
time = time.set(unit, value - (value % timeSteps[unit]))
8383
}
8484

8585
while (time.valueOf() < end) {

0 commit comments

Comments
 (0)