Skip to content

add test case for rstudio/gt#1374 #1375

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

Merged
merged 6 commits into from
Jul 12, 2023

Conversation

rcannood
Copy link
Contributor

@rcannood rcannood commented Jul 12, 2023

Summary

  • Added test case for bug in fmt_duration where formatting integer durations produces incorrect results.
  • Refactor values_to_durations() to use seconds as the base unit before formatting durations as characters to avoid incorrect rounding down due to numerical inaccuracies.

Related GitHub Issues and PRs

Checklist

@CLAassistant
Copy link

CLAassistant commented Jul 12, 2023

CLA assistant check
All committers have signed the CLA.

@rcannood rcannood mentioned this pull request Jul 12, 2023
2 tasks
@netlify
Copy link

netlify bot commented Jul 12, 2023

Deploy Preview for quarto-gt-examples failed.

Name Link
🔨 Latest commit cc3fda5
🔍 Latest deploy log https://app.netlify.com/sites/quarto-gt-examples/deploys/64aed75a7c1fa00008c00d51

@rich-iannone
Copy link
Member

Looks great! Thanks for all your work on this.

@rich-iannone rich-iannone merged commit e38b7c1 into rstudio:master Jul 12, 2023
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.

3 participants