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

Added >=0 check on delta #16255

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Apr 26, 2024

  1. Added >=0 check on delta

    Added check on delta to see if it is positive. If it is, return 0 for value and 'seconds' for the unit per documentation below and convention demonstrated at line 48/52  (current/proposed time.ts implementation).
    
    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format
    nuvious committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    71388c8 View commit details
    Browse the repository at this point in the history