Merge pull request #2375 from Gouttfi/master

Solve issue : #2358
This commit is contained in:
Mike Cao 2023-11-30 15:52:43 -10:00 committed by GitHub
commit 1e096c22a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -194,7 +194,7 @@ export function incrementDateRange(value, increment) {
const { num, unit } = selectedUnit; const { num, unit } = selectedUnit;
const sub = num * increment; const sub = Math.abs(num) * increment;
switch (unit) { switch (unit) {
case 'hour': case 'hour':