Skip to content

feature request: @signalk/set-system-time to allow source selection #16

@voodoomatz

Description

@voodoomatz

I have 6 GPS on my N2k bus.

Unfortunately, the one with the lowest SRC ID reports correct time but incorrect date: 2006-01-21T18:23:23Z.
As set-system-time appears to pick simply the first SRC it incorrectly sets the time:
Sep 06 18:23:23 asdf sudo[26471]: signalk : PWD=/home/signalk ; USER=root ; COMMAND=/usr/bin/date --iso-8601 -u -s 2006-01-21T18:23:23Z

A simple selection which source to pick would be highly beneficial.
Also allow me to add that as far as I understand --iso-8601 is not required here as we are writing not reading.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions