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

More quarter support #1500

Closed
philfreo opened this issue Feb 27, 2014 · 2 comments
Closed

More quarter support #1500

philfreo opened this issue Feb 27, 2014 · 2 comments

Comments

@philfreo
Copy link

I see that there's some support for quarters.

It would be nice to also support this:

moment().startOf('quarter')

Also would be nice to be able to parse a string in a format like 'YYYY-Q', but I don't see any quarter options listed on http://momentjs.com/docs/#/parsing/string-format/

@icambron
Copy link
Member

icambron commented Mar 5, 2014

That's right; quarter is only supported as a getter and format token for now. We'd accept a pull request for parsing and startOf/endOf if it was small and simple enough, but I don't think it's priority for Iskren or I to implement.

@icambron
Copy link
Member

This is fixed by #1586 and is in the new release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants