sdk improvement and get profile with events
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
export function getTime(date: string | number) {
|
||||
export function getTime(date: string | number | Date) {
|
||||
return new Date(date).getTime();
|
||||
}
|
||||
|
||||
export function toISOString(date: string | number) {
|
||||
export function toISOString(date: string | number | Date) {
|
||||
return new Date(date).toISOString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user