-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Change Duration Display (#4554) #4557
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
Conversation
arrow-cast/src/display.rs
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not hugely wedded to this format and welcome alternative suggestions. I think faithfully producing the unit of the duration is important, and distinguishes durations from intervals, but otherwise I have no strong opinions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need to do some research here --
for example, given 1000ms I think many users would like to see 1 sec. I realize there are details of why this may not always be totally accurately for larger durations...
Maybe something like 1.032 sec could be used to represent the unit (based on number of decimal places...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the idea of a number of seconds with a decimal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've pushed a commit that changes to do this
4492805 to
e0bb1bf
Compare
|
So in general I think this change definitely makes the durations more legible. However, I am worried about its backwards compatibility implications (like what will happen to people whose software relies on the old formats? Or has data in the old format?) |
|
Superseded by #4581 |
Which issue does this PR close?
Closes #4554
Rationale for this change
Changes the display of durations to be more legible
What changes are included in this PR?
Are there any user-facing changes?