Browse Source

lint fix

pull/11/head
rozetko 2 years ago
parent
commit
15050031d1
  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