Skip to content

Time format of Serial Monitor causes shift of output #997

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
Akinollo opened this issue May 19, 2022 · 1 comment
Closed
3 tasks done

Time format of Serial Monitor causes shift of output #997

Akinollo opened this issue May 19, 2022 · 1 comment
Assignees
Labels
conclusion: duplicate Has already been submitted type: imperfection Perceived defect in any part of project

Comments

@Akinollo
Copy link

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

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@Akinollo Akinollo added the type: imperfection Perceived defect in any part of project label May 19, 2022
@per1234
Copy link
Contributor

per1234 commented May 20, 2022

Hi @Akinollo. Thanks for taking the time to submit an issue.

I see we have another report about this at #580.

It is best to have only a single issue per subject so we can consolidate all relevant discussion to one place, so I'll go ahead and close this in favor of the other.

If you end up with additional information to share, feel free to comment in the other thread.

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale May 20, 2022
@per1234 per1234 added the conclusion: duplicate Has already been submitted label May 20, 2022
@per1234 per1234 self-assigned this May 30, 2022
@per1234 per1234 closed this as completed May 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants