You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Duration#as('x') method throws an error when trying to pass quarters as an argument, although in the docs it's stated that it should work with all the shorthand keys from moment#add
Description of the Issue and Steps to Reproduce:
Duration#as('x')
method throws an error when trying to pass quarters as an argument, although in the docs it's stated that it should work with all the shorthand keys frommoment#add
Link to docs: https://momentjs.com/docs/#/durations/as/
Example:
Result (error):
Environment:
All platforms and all browsers.
If you are reporting an issue, please run the following code in the environment you are using and include the output:
The text was updated successfully, but these errors were encountered: