mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-25 15:47:55 +00:00
community controller
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
export function parseToDate(value: unknown): Date {
|
||||
const valueInNumber = Number(value);
|
||||
return new Date(valueInNumber);
|
||||
}
|
||||
Reference in New Issue
Block a user