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

Single letter fromNow insted of word #162

Open
msobkyy opened this issue Jan 30, 2023 · 1 comment
Open

Single letter fromNow insted of word #162

msobkyy opened this issue Jan 30, 2023 · 1 comment

Comments

@msobkyy
Copy link

msobkyy commented Jan 30, 2023

Attempting to use one letter to describe format with

<Moment fromNow interval={30}>
    {date}
</Moment>

Example: opposed to 1 hour ago, 1 day ago, 1 week ago. Looking to have 1h, 1d, 1w.

Is it a setting I'm missing to use a single letter format like so?

@imYashGupta
Copy link

i also want this, if anyone can help.

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

2 participants