Skip to content

[gps] Parse() function calculates incorrect dates from June 1st onward #784

@rhykw

Description

@rhykw

The Parse() function in the gps package incorrectly calculates dates on or after June 1st, resulting in a timestamp that is one day earlier than the correct date.

example:

$GPRMC,203522.00,A,5109.0262308,N,11401.8407342,W,0.004,133.4,010622,0.0,E,D*2B

Expected

June 1st, 2022.

Actual Behavior

May 31st, 2022.

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