Skip to content

Commit 72753d4

Browse files
committed
Finish standardizing on "timezone" as one word, and not "time zone" or "timeZone".
1 parent 26f6be5 commit 72753d4

10 files changed

Lines changed: 35 additions & 35 deletions

File tree

src/app/app.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ <h3>Time</h3>
112112
<h3>Location</h3>
113113
<p>If <em>Sky View Café</em> does not automatically set your desired location, you can use the <strong>Find...</strong> button to look for cities
114114
and towns. You can also click on the latitude and longitude fields to manually set a new observing location. Make sure to also pick the correct
115-
matching time zone for your location.<p>
115+
matching timezone for your location.<p>
116116
<p>Coming back later? Click the <strong>Save...</strong> button to store locations for your next visit. (Cookies must be enabled.)
117117

118118
<hr>

src/app/app.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ export class AppComponent implements AfterViewInit, OnDestroy {
172172
this.dateTime.timezone = this._timeZone;
173173

174174
if (this._timeZone.error)
175-
this.messageService.add({key: 'general', severity: 'error', summary: 'Failed to retrieve time zone',
176-
detail: 'Using your OS time zone instead.'});
175+
this.messageService.add({key: 'general', severity: 'error', summary: 'Failed to retrieve timezone',
176+
detail: 'Using your OS timezone instead.'});
177177
}
178178

179179
// noinspection JSMethodCanBeStatic

src/app/svc/svc-atlas-dialog/svc-atlas-dialog.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--suppress HtmlFormInputWithoutLabel, HtmlUnknownAttribute, TypeScriptValidateJSTypes, TypeScriptUnresolvedVariable -->
2-
<p-dialog header="Find Latitude, Longitude, and Time Zone" [modal]="true" [(visible)]="visible" [style]="{width: '797px'}"
2+
<p-dialog header="Find Latitude, Longitude, and Timezone" [modal]="true" [(visible)]="visible" [style]="{width: '797px'}"
33
(keyup)="onKey($event)">
44
<div style="position: relative">
55
<div class="search-controls" [ngBusy]="busy">
@@ -38,7 +38,7 @@
3838
<th>Name</th>
3939
<th>Lat.</th>
4040
<th>Long.</th>
41-
<th>Time Zone</th>
41+
<th>Timezone</th>
4242
</tr>
4343
</ng-template>
4444
<ng-template pTemplate="body" let-loc>

src/app/svc/svc-change-location-dialog/svc-change-location-dialog.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Change location to {{formattedLatitude}}, {{formattedLongitude}} and:<br>
55
<br>
66
<div>
7-
<p-radioButton name="group1" value="0" label="Keep current time zone ({{currentZone}})" [(ngModel)]="zoneChoice"></p-radioButton>
7+
<p-radioButton name="group1" value="0" label="Keep current timezone ({{currentZone}})" [(ngModel)]="zoneChoice"></p-radioButton>
88
</div>
99
<div [hidden]="!timezone || timezone === currentZone">
1010
<p-radioButton name="group1" value="1" label="Switch to {{timezone}}" [(ngModel)]="zoneChoice"></p-radioButton>

src/app/svc/svc-time-editor/svc-time-editor.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ export class SvcTimeEditorComponent extends KsSequenceEditorComponent implements
611611
}
612612

613613
protected getColorForItem(item?: SequenceItemInfo, index?: number): string {
614-
// Turn hour offset indicator red for bad time zone
614+
// Turn hour offset indicator red for bad timezone
615615
if (index === 18 && this.timezone.error)
616616
return '#C00';
617617
else

src/app/svc/svc-time-view/svc-time-view.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ export class SvcTimeViewComponent {
7575
const jdu = DateTime.julianDay(this.time);
7676
const timezone = Timezone.getTimezone(this.zone, this.longitude);
7777

78-
// It takes a bit of effort to force locale formatting to be done using a time zone which is
79-
// not necessarily the browser's local time zone.
78+
// It takes a bit of effort to force locale formatting to be done using a timezone which is
79+
// not necessarily the browser's local timezone.
8080
const dateTime = new DateTime(this.time, timezone);
8181
const wallTime = dateTime.wallTime;
8282
const jsDate = new Date(Date.UTC(wallTime.y, wallTime.m - 1, wallTime.d, wallTime.hrs, wallTime.min, 0));

src/app/svc/svc-zone-selector/svc-zone-selector.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
(blur)="onDropdownBlur($event)" scrollHeight="420px"></ks-dropdown><br>
55
</div>
66
<div class="zone-selector-row">
7-
<span class="caption">time zone region/category &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><br>
7+
<span class="caption">timezone region/category &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><br>
88
</div>
99
<div class="zone-selector-row">
1010
<ks-dropdown [options]="subzones" [(ngModel)]="subzone" [disabled]="disabled" (focus)="onDropdownFocus($event)"
1111
(blur)="onDropdownBlur($event)" scrollHeight="300px"></ks-dropdown><br>
1212
</div>
1313
<div class="zone-selector-row">
14-
<span class="caption">specific time zone &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
14+
<span class="caption">specific timezone &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
1515
</div>
1616
<p [hidden]="!error" class="error">{{error}}</p>
1717
</div>

src/app/svc/svc-zone-selector/svc-zone-selector.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const noop = () => {};
3333

3434
const MISC_OPTION = '- Miscellaneous -';
3535
const UT_OPTION = '- UTC hour offsets -';
36-
const OS_OPTION = '- Your OS time zone -';
36+
const OS_OPTION = '- Your OS timezone -';
3737
const LMT_OPTION = '- Local Mean Time -';
3838

3939
const MISC = 'MISC';

src/assets/about.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ <h2 class="header-sans"><a name="history">What's New / Version History</a></h2>
129129

130130
<p><b>1.4.0, 2018-02-26:</b> Added full-screen mode.</p>
131131

132-
<p><b>1.3.15, 2018-02-21:</b> Fixed formatting of time zone description in atlas dialog.</p>
132+
<p><b>1.3.15, 2018-02-21:</b> Fixed formatting of timezone description in atlas dialog.</p>
133133

134134
<p><b>1.3.14, 2018-02-21:</b> Minor bug fixes, code update.</p>
135135

@@ -144,18 +144,18 @@ <h2 class="header-sans"><a name="history">What's New / Version History</a></h2>
144144
<p><b>1.3.10, 2018-01-30:</b> Fixed problems related to days that have two midnights. (This can occur when clocks are
145145
turned back to midnight.)</p>
146146

147-
<p><b>1.3.9, 2018-01-23:</b> Updated time zone data to version 2018c, extended to the year 2500, kept Europe/Dublin
148-
time zone from 2018b.</p>
147+
<p><b>1.3.9, 2018-01-23:</b> Updated timezone data to version 2018c, extended to the year 2500, kept Europe/Dublin
148+
timezone from 2018b.</p>
149149

150-
<p><b>1.3.8, 2018-01-21:</b> Updated time zone data to version 2018b, extended to 2050, added handing for
151-
negative/winter Daylight Saving Time, eliminated "calendar rollbacks" from time zone data. Updated delta-T and GRS
150+
<p><b>1.3.8, 2018-01-21:</b> Updated timezone data to version 2018b, extended to 2050, added handing for
151+
negative/winter Daylight Saving Time, eliminated "calendar rollbacks" from timezone data. Updated delta-T and GRS
152152
longitude.</p>
153153

154-
<p><b>1.3.7, 2018-01-06:</b> Extended time zone data to 2037.</p>
154+
<p><b>1.3.7, 2018-01-06:</b> Extended timezone data to 2037.</p>
155155

156-
<p><b>1.3.6, 2018-01-01:</b> Made some adjustments to historical time zone support.</p>
156+
<p><b>1.3.6, 2018-01-01:</b> Made some adjustments to historical timezone support.</p>
157157

158-
<p><b>1.3.5, 2017-12-31:</b> Added preliminary version of Table view. Improved time zone support.</p>
158+
<p><b>1.3.5, 2017-12-31:</b> Added preliminary version of Table view. Improved timezone support.</p>
159159

160160
<p><b>1.3.0, 2017-11-28:</b> Added printing support.</p>
161161

@@ -177,9 +177,9 @@ <h2 class="header-sans"><a name="history">What's New / Version History</a></h2>
177177
style preference setting.</p>
178178

179179
<p><b>1.0.2, 2017-07-23:</b> Faster client-side event finder. "Growl"-style event messages. Full event functionality
180-
for OS time zone.</p>
180+
for OS timezone.</p>
181181

182-
<p><b>1.0.1, 2017-07-15:</b> Fixed bug with OS and Local Mean Time time zones.</p>
182+
<p><b>1.0.1, 2017-07-15:</b> Fixed bug with OS and Local Mean Time timezones.</p>
183183

184184
<p><b>1.0.0, 2017-07-14:</b> First release.</p>
185185
</div>

0 commit comments

Comments
 (0)