|
|
@ -24,9 +24,7 @@ export function convertTimestampToDate(timestamp?: number): string { |
|
|
|
minute: 'numeric', |
|
|
|
minute: 'numeric', |
|
|
|
second: 'numeric', |
|
|
|
second: 'numeric', |
|
|
|
}; |
|
|
|
}; |
|
|
|
return timestamp ? |
|
|
|
return timestamp ? new Date(timestamp).toLocaleString('en-GB', options) : '-'; |
|
|
|
new Date(timestamp).toLocaleString('en-GB', options): |
|
|
|
|
|
|
|
'-'; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
export function convertTimeZoneTypeToName(timeZone: TimeZone): string { |
|
|
|
export function convertTimeZoneTypeToName(timeZone: TimeZone): string { |
|
|
|