We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I create a new entry and look at it, I think "just now" reads better than "less than five seconds ago".
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
You might be right, but that is a matter of taste/use-case. Wouldn't it be simpler to do an if statement in your code before calling the library?
If (Time.posixToMillis t2 - Time.posixToMillis t1) < 5000 then "Just now" else callThisLibrary
?
A better change would be to add {includeSeconds : Bool} to Config type, so you can choose to have second-level granularity or not.
{includeSeconds : Bool}
Config
Would welcome a PR, but this isn't high enough priority for me to implement at the moment. Sorry!
No branches or pull requests
When I create a new entry and look at it, I think "just now" reads better than "less than five seconds ago".
The text was updated successfully, but these errors were encountered: