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

Displaying -1d when the locale is en_short #195

Open
iEricKoh opened this issue Oct 7, 2022 · 4 comments
Open

Displaying -1d when the locale is en_short #195

iEricKoh opened this issue Oct 7, 2022 · 4 comments

Comments

@iEricKoh
Copy link

iEricKoh commented Oct 7, 2022

for the same date value, i got -1d when the locale is en_short.

when the locale is en:
CleanShot 2022-10-07 at 10 41 57@2x

when the locale is en_short,
CleanShot 2022-10-07 at 10 42 25@2x

@migalv
Copy link

migalv commented Nov 9, 2022

It's a "~" not "-"

"~" is usually used to indicate "roughly" or "aproximately"

@Helocominc
Copy link

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.

@bugrevealingbme
Copy link

We want an option to disable the sign soon.

@hgebrema
Copy link

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("~", "")

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

No branches or pull requests

5 participants