wbreeze / ShipsClock

An iOS, SwiftUI clock for tracking watches on board a ship. Marks the day in periods of four hours.
https://wbreeze.github.io/ShipsClock
Apache License 2.0
2 stars 0 forks source link

Add an option to show Mean Solar Time #27

Open wbreeze opened 3 years ago

wbreeze commented 3 years ago

The clock currently shows system time. Add an option to show mean solar time. This is the time based on current longitude.

This requires location. Fall back on system time when location is unavailable. Make the option selectable only if location is available.

Depends on #24

wbreeze commented 3 years ago

See definition of mean solar time at https://en.m.wikipedia.org/wiki/Solar_time. The spec’ for this issue is essentially correct. The time UT1 is essentially the same as UTC. See https://en.m.wikipedia.org/wiki/Universal_Time