mirror of
https://github.com/SabreTools/MPF.git
synced 2026-02-03 21:29:27 +00:00
[Problem] Dumping time in !submissionInfo.txt wrongly formatted #606
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @JohnVeness on GitHub (Sep 11, 2023).
Originally assigned to: @mnadareski on GitHub.
Version
What version are you using?
Build
Describe the issue
The newly added dumping date in the log (introduced in commit
56e91bf177) has incorrect formatting for the time portion. Currently it is "hh:mm:ss" but should be "HH:mm:ss". The current formatting means that 6 o'clock in the evening UTC is showing as 06:00:00 instead of 18:00:00 as it should be.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The time portion of the date should have 13 to 23 in the hour part.
Additional context
I haven't checked the WIP version but the relevant code hasn't changed since 2.6.3 as far as I can see.
@JohnVeness commented on GitHub (Sep 11, 2023):
By the way, I don't mind writing a PR for this if it helps, basically changing all "hh" to "HH" in code touched by that commit, but I won't be able to build/test it.
@Deterous commented on GitHub (Sep 27, 2023):
Fixed by #551