update timezone list

This commit is contained in:
Joel Wetzell
2022-12-01 15:05:43 -06:00
parent 353779e10d
commit 7b41f20240
5 changed files with 600 additions and 12331 deletions
+1
View File
@@ -0,0 +1 @@
timedatectl list-timezones
+32 -11863
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -36,4 +36,4 @@
"karma-jasmine-html-reporter": "~1.7.0", "karma-jasmine-html-reporter": "~1.7.0",
"typescript": "~4.8.4" "typescript": "~4.8.4"
} }
} }
@@ -1,13 +1,13 @@
<div class="background" [@displayState]="state" (@displayState.start)="animationEvent($event)" (@displayState.done)="animationEvent($event)"> <div class="background" [@displayState]="state" (@displayState.start)="animationEvent($event)" (@displayState.done)="animationEvent($event)">
<ng-container *ngIf="showAllItems; else single" > <ng-container *ngIf="showAllItems; else single" >
<div *ngFor="let timezone of timezones" class="container" [ngStyle]="{'height': timezones.length == 1 ? '100%' : 'auto'}"> <div *ngFor="let timezone of timezones" class="container" [ngStyle]="{'height': timezones.length == 1 ? '100%' : 'auto'}">
<h1 class="timezone">{{timezone.name}}</h1> <h1 class="timezone">{{timezone.name.replace('_', ' ')}}</h1>
<h2 class="time">{{timezone.time?.toFormat('tt')}}</h2> <h2 class="time">{{timezone.time?.toFormat('tt')}}</h2>
</div> </div>
</ng-container> </ng-container>
<ng-template #single > <ng-template #single >
<div *ngIf="closest" class="single-container"> <div *ngIf="closest" class="single-container">
<h1 class="timezone">{{closest.name}}</h1> <h1 class="timezone">{{closest.name.replace('_', ' ')}}</h1>
<h2 class="time">{{closest.time?.toFormat('tt')}}</h2> <h2 class="time">{{closest.time?.toFormat('tt')}}</h2>
</div> </div>
</ng-template> </ng-template>
File diff suppressed because it is too large Load Diff