Skip to content
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

Display durations more than 1000ms in seconds #3

Merged
merged 1 commit into from
Oct 29, 2015

Conversation

jonah-williams
Copy link

The duration display for particularly long durations seemed to be incorrect. I switched it to show time in seconds out to two decimal places which I think was the original intent.

Previously:

> "%.2fms" % 1500
=> "1500.00ms"

Now:

> "%.2fs" % (1500 / 1e3)
=> "1.50s"

dewski added a commit that referenced this pull request Oct 29, 2015
@dewski dewski merged commit 876971c into peek:master Oct 29, 2015
@dewski dewski changed the title display long durations in seconds Display durations more than 1000ms in seconds Oct 30, 2015
@dewski
Copy link
Member

dewski commented Oct 30, 2015

Released in v1.1.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants