Skip to content

Commit 5b5a3a7

Browse files
committed
Fix incorrect display of Local Mean Time in Time panel.
1 parent a6e19aa commit 5b5a3a7

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "svc-ng",
3-
"version": "1.8.3",
3+
"version": "1.8.4",
44
"license": "MIT AND GPL-3.0-or-later",
55
"author": "Kerry Shetline <kerry@shetline.com>",
66
"scripts": {
@@ -44,7 +44,7 @@
4444
"@angular/cli": "^8.1.1",
4545
"@angular/compiler-cli": "^8.1.1",
4646
"@angular/language-service": "^8.1.1",
47-
"@types/googlemaps": "^3.36.7",
47+
"@types/googlemaps": "^3.37.0",
4848
"@types/jasmine": "^3.3.13",
4949
"@types/jasminewd2": "^2.0.6",
5050
"@types/lodash": "^4.14.136",

src/app/app.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div class="about-dialog">
44
<img src="/assets/resources/svc_lunar_eclipse.png" alt="lunar eclipse" width="64" height="64">
55
<h2>Sky View Café NP</h2>
6-
Version 1.8.3<br><br>
6+
Version 1.8.4<br><br>
77
Copyright © 2016-2019 Kerry Shetline.
88
</div>
99
</p-dialog>

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,7 @@ export class SvcTimeViewComponent {
8888
this.formattedLst = this.skyObserver.getLocalHourAngle(jdu, true).toTimeString(FMT_MINS);
8989

9090
const longitudeMinutes = round(mod2(this.longitude, 360) * 4);
91-
const lmtWallTime = new KsDateTime(this.time, new KsTimeZone({zoneName: 'LMT',
92-
currentUtcOffset: longitudeMinutes,
93-
usesDst: false, dstOffset: 0, transitions: null})).wallTime;
91+
const lmtWallTime = new KsDateTime(this.time, KsTimeZone.getTimeZone('LMT', this.longitude)).wallTime;
9492

9593
this.formattedLmt = padLeft(lmtWallTime.hrs, 2, '0') + ':' + padLeft(lmtWallTime.min, 2, '0');
9694
this.lmtLongitude = new Angle(longitudeMinutes, Unit.HOUR_ANGLE_MINUTES).toSuffixedString('E', 'W', FMT_MINS);

src/assets/about.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@
6060
<h2 class="header-sans"><a name="history">What's New / Version History</a></h2>
6161
<div style="padding-left: 1em; text-indent: -1em">
6262

63+
<p><b>1.8.4, 2019-07-11:</b> Fix incorrect display of Local Mean Time in Time panel.</p>
64+
6365
<p><b>1.8.3, 2019-07-10:</b> Updated optional iOS native date/time input method.</p>
6466

6567
<p><b>1.8.2, 2019-07-10:</b> Minor change to accommodate geographic search ratings higher than 9.</p>

0 commit comments

Comments
 (0)