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

Add new format function to format quarters. #67

Merged
merged 4 commits into from
May 18, 2016
Merged

Add new format function to format quarters. #67

merged 4 commits into from
May 18, 2016

Conversation

domoritz
Copy link
Member

@domoritz domoritz commented Apr 9, 2016

function quarterFormat(date) {
// TODO
return "Q1";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return 'Q' + math.floor(date.getMonth()/3)*3.

@domoritz domoritz changed the title [WIP] Add new format function to format quarters. Add new format function to format quarters. May 18, 2016
@jheer jheer merged commit 462cd31 into master May 18, 2016
@jheer jheer deleted the dom/quarter branch May 18, 2016 16:19
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

Successfully merging this pull request may close these issues.

3 participants