Skip to content

Modified date/time output to correct YYYY-MM-DD hh:mm:ss format - #1

Open
sshawuk wants to merge 1 commit into
lozaning:masterfrom
sshawuk:dateTimeFormatting
Open

Modified date/time output to correct YYYY-MM-DD hh:mm:ss format#1
sshawuk wants to merge 1 commit into
lozaning:masterfrom
sshawuk:dateTimeFormatting

Conversation

@sshawuk

@sshawuk sshawuk commented Aug 17, 2021

Copy link
Copy Markdown

I found that writing the month, day, hour, minute or second as a direct output from the TinyGPS++ date or time object resulted in some values having their leading 0 dropped. For example, 8 for August as opposed to the expected 08.

I haven't tested this on an M5 directly, but I believe it should work regardless of the hardware :)

…e output in the Wigle required yyyy-MM-dd format. The existing method would drop leading 0's
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant