1.1.0 • Published 7 months ago

@yachteye/signalk-timezone-plugin v1.1.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
7 months ago

signalk-timezone-plugin

Plugin to set the time zone and local time according to the plugin settings. Includes a custom NMEA0183 ZDA parser that handles the time zone information of ZDA.

The time zone offset is stored in path environment.time.timezoneOffset (seconds).
The local time is stored in path environment.time.localTime (as e.g. "2024-01-29T13:24:21.648+01:00").

Install with:

npm install signalk-timezone-plugin

After installation, you enable & configure the plugin via the plugins page in the SignalK admin UI.

Features

  • Allows setting a manual value for the time zone.
  • Allows using a custom NMEA0183 ZDA parser to get the time and time zone from the ZDA sentence.
  • Allows inverting the the ZDA time zone value.
  • Allows using the server time and time zone.
  • Allows deriving the time zone from the current position (using the geo-tz package).

Note

The v1.1 update uses an enumeration for the settings Working mode. In case your existing Working mode had incorrect casing you need to update it in the settings.

Copyright

© Copyright 2024 YachtEye by SuperYacht Times (https://www.superyachttimes.com/, https://www.yachteye.com/)

1.1.0

7 months ago

1.0.1

7 months ago

1.0.0

1 year ago