Fix ASCWriter millisecond handling by lumagi · Pull Request #1734 · hardbyte/python-can

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@lumagi

Copy link

Collaborator

@lumagi lumagi commented

Jan 20, 2024

With this PR, I would like to improve the string formatting of milliseconds in the ASCWriter class.
Unfortunately, the format seems to rely on localized datetimes. I added a commit to change the date time format to 24h instead of 12h. Let me know what you think.

@lumagi lumagi requested a review from zariiii9003

January 20, 2024 16:56

@lumagi lumagi force-pushed the fix_asc_msec_handling branch from 84386ed to 31cbda8 Compare

January 20, 2024 16:57

@lumagi lumagi force-pushed the fix_asc_msec_handling branch from 31cbda8 to 160cea8 Compare

January 20, 2024 16:58

@lumagi

Copy link

Collaborator Author

lumagi commented

Jan 20, 2024

Supposed to fix part of the problem presented in #1699

Copy link

Collaborator

@zariiii9003 zariiii9003 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

@zariiii9003 zariiii9003 added the file-io

about reading & writing to files

label

Jan 20, 2024

@zariiii9003 zariiii9003 merged commit 7e29504 into hardbyte:main

Jan 21, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@zariiii9003 zariiii9003 zariiii9003 approved these changes

Assignees

No one assigned

Labels

file-io

about reading & writing to files

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@lumagi @zariiii9003