timeago.dart
timeago.dart copied to clipboard
Displaying -1d when the locale is en_short
for the same date value, i got -1d
when the locale is en_short
.
when the locale is en
:
when the locale is en_short
,
It's a "~" not "-"
"~" is usually used to indicate "roughly" or "aproximately"
It's a "~" not "-"
"~" is usually used to indicate "roughly" or "aproximately"
How can I remove the tilde ~
that appears before the time? ~1d
. I just want it to be 1d
.
We want an option to disable the sign soon.
Yes, it would be nice to be able to disable this.
But for now as a work around I guess we can do
timeago.format(fifteenAgo, locale: 'en_short').replaceAll("~", "")