feat(gantt): use time constants
This commit is contained in:

committed by
kolaente

parent
db611ab2d3
commit
a70a2e3ba6
@ -1,3 +1,5 @@
|
||||
import {MILLISECONDS_A_WEEK} from "@/constants/date";
|
||||
|
||||
export function getNextWeekDate(): Date {
|
||||
return new Date((new Date()).getTime() + 7 * 24 * 60 * 60 * 1000)
|
||||
return new Date((new Date()).getTime() + MILLISECONDS_A_WEEK)
|
||||
}
|
||||
|
Reference in New Issue
Block a user