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

hotfix: best time duration function #1826

Merged
merged 1 commit into from
Dec 30, 2021

Conversation

maxwellmattryan
Copy link
Contributor

@maxwellmattryan maxwellmattryan commented Dec 21, 2021

Description of change

  • Fixes the logic for getBestTimeDuration (time.ts) to return the correct number
  • Fixes test in time.test.ts

Links to any relevant issues

None

Type of change

  • Fix (a change which fixes an issue)

How the change has been tested

Platforms:

  • MacOS (10.15.7)

Cases:

  • Try various amounts of time (negative, zero, near-zero, and non-zero)

Change checklist

  • I have followed the contribution guidelines for this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that my latest changes pass CI tests
  • New and existing unit tests pass locally with my changes

@cvarley100 cvarley100 merged commit 91ef08e into develop Dec 30, 2021
@cvarley100 cvarley100 deleted the hotfix/best-time-duration-function branch December 30, 2021 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:hotfix Hotfix for bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants