Add leading zero to log file date/time (#1925)

## Description

WAS: Logs did not have a leading zero, meaning that alphabetical and
temporal sort were not the same

IS: Logs now have leading zeros added. This means that alphabetical sort
works properly.

## Meta

Merge checklist:
- [x] Pull Request title is [short, imperative
summary](https://cbea.ms/git-commit/) of proposed changes
- [x] The description documents the _what_ and _why_
- [ ] If this PR changes behavior or adds a feature, user documentation
is updated
- [ ] If this PR touches photon-serde, all messages have been
regenerated and hashes have not changed unexpectedly
- [ ] If this PR touches configuration, this is backwards compatible
with settings back to v2024.3.1
- [ ] If this PR touches pipeline settings or anything related to data
exchange, the frontend typing is updated
- [ ] If this PR addresses a bug, a regression test for it is added

---------

Co-authored-by: Craig Schardt <crschardt@fastem.com>
This commit is contained in:
Matt Morley
2025-04-22 07:53:24 -07:00
committed by GitHub
parent c15c62698a
commit 0c9502d8b9
3 changed files with 88 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ Robot mode transitions are also recorded in program logs. These transition messa
If the robot is connected to the FMS at an event, we will additionally print out:
- Event name
- Match type
- Match type and number
- Driver station position