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',
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