Time format of Serial Monitor causes shift of output #997
Labels
conclusion: duplicate
Has already been submitted
type: imperfection
Perceived defect in any part of project
Describe the problem
The time of the serial monitor should be formated with leading "0" if hour or minute has only one digit. Its already done for the seconds and milliseconds. Here the text is shifted left/right when the minute changes from 9 to 10:
21:9:59.812 -> URef 894.177551 kCal 0.004580746 | BuckDnC_In 19.935
21:9:59.937 -> URef 894.177368 kCal 0.004580747 | BuckDnC_In 19.935
21:10:00.062 -> URef 894.177185 kCal 0.004580748 | BuckDnC_In 19.935
21:10:00.187 -> URef 894.177002 kCal 0.004580748 | BuckDnC_In 19.935
To reproduce
Toggle timestamp to see the time in the serial monitor and wait...
Expected behavior
21:09:59.812 -> URef 894.177551 kCal 0.004580746 | BuckDnC_In 19.935
21:09:59.937 -> URef 894.177368 kCal 0.004580747 | BuckDnC_In 19.935
21:10:00.062 -> URef 894.177185 kCal 0.004580748 | BuckDnC_In 19.935
21:10:00.187 -> URef 894.177002 kCal 0.004580748 | BuckDnC_In 19.935
Arduino IDE version
arduino-ide_2.0.0-rc6-nightly-20220519
Operating system
Windows
Operating system version
10
Additional context
No response
Issue checklist
The text was updated successfully, but these errors were encountered: