implement ISO date to facilitate all the store values

This commit is contained in:
Julien Calixte
2023-04-10 12:22:58 +02:00
parent 5d2240400b
commit 3a44fe00c5
4 changed files with 15 additions and 15 deletions

View File

@@ -1,7 +1,9 @@
import type { ISODate } from '@/shared/types/date'
export interface Recordable {
id: string
taskId: string
start: Date
end?: Date
stepRecords: Record<string, { start: Date; end?: Date }>
start: ISODate
end?: ISODate
stepRecords: Record<string, { start: ISODate; end?: ISODate }>
}