mirror of
https://github.com/jwetzell/itsfiveoclockwhere.git
synced 2026-07-26 10:28:45 +00:00
update timezone list
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
timedatectl list-timezones
|
||||||
Generated
+32
-11863
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -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
Reference in New Issue
Block a user