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
I observe that there is already a test case for timestring having unrecognized time unit at:
timestring/test.js
Line 88 in f7366f6
However, the lib should do the same if the entire given string is not a timestring at all.
For now (release 5.0.0):
The text was updated successfully, but these errors were encountered:
In addition, it will be great if a method can be exposed to check the validity of a timestring.
Sorry, something went wrong.
I am also seeking this functionality.
#43 I just submitted a PR to add in this error checking. Let me know if this is what you are desiring too, @garrychnca
Published #43 in 6.0.0
6.0.0
No branches or pull requests
I observe that there is already a test case for timestring having unrecognized time unit at:
timestring/test.js
Line 88 in f7366f6
However, the lib should do the same if the entire given string is not a timestring at all.
For now (release 5.0.0):
The text was updated successfully, but these errors were encountered: