List of timezones

This commit is contained in:
2021-11-24 11:15:58 -06:00
parent facd5f90c8
commit 508add0f90
10 changed files with 68 additions and 36 deletions
+7 -4
View File
@@ -1,4 +1,7 @@
<div *ngIf="fiveOclock" class="container">
<h1 class="timezone">{{fiveOclock.timezone}}</h1>
<h2 class="time">{{fiveOclock.date | date:'mediumTime'}}</h2>
</div>
<div class="container">
<ng-container *ngFor="let timezone of fiveOclocks">
<h1 class="timezone">{{timezone.name}}</h1>
<h2 class="time">{{timezone.time?.toFormat('tt')}}</h2>
</ng-container>
</div>