implement ISO date to facilitate all the store values
This commit is contained in:
3
src/shared/types/date.ts
Normal file
3
src/shared/types/date.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export type ISODate = string
|
||||
|
||||
export const toISODate = (date: Date): ISODate => date.toISOString()
|
||||
Reference in New Issue
Block a user