Skip to content

Conversation

@jnfrati
Copy link

@jnfrati jnfrati commented Feb 25, 2022

Motivation

When using the timeFromNow function, the unitOfTime property would display "seconds" although the amount of seconds is to big. This PR fixes that by adding an extra unitOfTime value "minutes".

@cferdinandi
Copy link
Owner

Thanks for this! I think units of time should be set to minutes instead of hours?

tfn.unitOfTime = 'hours';

@jnfrati
Copy link
Author

jnfrati commented Jun 22, 2022

@cferdinandi Sorry for taking so long to fix this! Completely forgot about the PR.
Already made the change! Let me know if you catch anything else!

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