Skip to content

Conversation

@rhykw
Copy link
Contributor

@rhykw rhykw commented Aug 11, 2025

fix #784

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.

@deadprogram
Copy link
Member

Hello @rhykw thanks for working on this. You probably want to base it off of the dev branch as mentioned here:

https://github.com/tinygo-org/drivers/blob/release/CONTRIBUTING.md#how-to-use-our-github-repository

@rhykw rhykw changed the base branch from release to dev August 11, 2025 07:19
@rhykw rhykw marked this pull request as ready for review August 11, 2025 15:24
@rhykw rhykw force-pushed the fix-gps-time-calculation branch from cde8fd6 to d6e9f4b Compare August 11, 2025 15:35
@rhykw
Copy link
Contributor Author

rhykw commented Aug 13, 2025

@deadprogram
Hello, thank you for your suggestion.
I've rebased my pull request on the dev branch.

@deadprogram
Copy link
Member

Thank you for the correction @rhykw now squash/merging.

@deadprogram deadprogram merged commit a31ba26 into tinygo-org:dev Aug 13, 2025
1 check passed
deadprogram pushed a commit that referenced this pull request Sep 16, 2025
* Change test case to match the date patterns where the bug reproduces * Fix RMC date and time calculation
deadprogram pushed a commit that referenced this pull request Sep 20, 2025
* Change test case to match the date patterns where the bug reproduces * Fix RMC date and time calculation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants