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',
second: 'numeric',
};
return timestamp ?
new Date(timestamp).toLocaleString('en-GB', options):
'-';
return timestamp ? new Date(timestamp).toLocaleString('en-GB', options) : '-';
}
export function convertTimeZoneTypeToName(timeZone: TimeZone): string {

Loading…
Cancel
Save