Merge branch 'main' of git.targo.ca:Targo/targo_backend
This commit is contained in:
commit
3741bf3b26
|
|
@ -41,7 +41,7 @@ export const toHHmmFromDate = (input: Date | string): string => {
|
|||
|
||||
//converts Date format to string
|
||||
export const toDateFromString = (ymd: string | Date): Date => {
|
||||
return new Date(`${ymd}`);
|
||||
return new Date(ymd);
|
||||
}
|
||||
|
||||
export const toUTCDateFromString = (iso: string | Date) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user