@yachteye/signalk-timezone-plugin

1.0.0 • Public • Published

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.

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.

Copyright

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

Package Sidebar

Install

npm i @yachteye/signalk-timezone-plugin

Weekly Downloads

5

Version

1.0.0

License

Apache-2.0

Unpacked Size

27.2 kB

Total Files

4

Last publish

Collaborators

  • willem_syt