Browse Source

Merge branch 'master' into dist

dist
rozetko 2 years ago
parent
commit
2744e4076d
  1. 4
      src/utils/index.ts

4
src/utils/index.ts

@ -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 {

Loading…
Cancel
Save