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
It would be awesome that the following code would work:
moment.duration(secondsInterval, 's').twitter()
I just have a seconds interval.
The text was updated successfully, but these errors were encountered:
Great idea! Would you be interested in sending a PR? If not, I can try to get to it in the next couple of weekends.
In the meantime, a workaround would be to simply do something like this:
moment().subtract(secondsInterval, 's').twitter()
Sorry, something went wrong.
On second thought, doing it that way is probably a more elegant solution. What do you think?
No branches or pull requests
It would be awesome that the following code would work:
moment.duration(secondsInterval, 's').twitter()
I just have a seconds interval.
The text was updated successfully, but these errors were encountered: