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
iex(22)> Timex.Format.DateTime.Formatters.Relative.format!(Timex.DateTime.now, "{relative}") "in 0 seconds"
The relative datetime formatters returns "in 0 seconds" instead of "0 seconds ago" when the time is now.
"in 0 seconds"
"0 seconds ago"
The text was updated successfully, but these errors were encountered:
Maybe it should even be "now" when the time is around 0 seconds.
"now"
Sorry, something went wrong.
Yeah it should be "now", I'll get that fixed
Fixed in 3.0
Thanks for the fix, works brilliantly!
No branches or pull requests
Steps to reproduce
Description of issue
The relative datetime formatters returns
"in 0 seconds"
instead of"0 seconds ago"
when the time is now.The text was updated successfully, but these errors were encountered: