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

Set the default publishedAt date to the upcoming Sunday #4

Closed
2 tasks done
achan opened this issue Jan 7, 2015 · 0 comments · Fixed by #7
Closed
2 tasks done

Set the default publishedAt date to the upcoming Sunday #4

achan opened this issue Jan 7, 2015 · 0 comments · Fixed by #7
Assignees
Milestone

Comments

@achan
Copy link
Member

achan commented Jan 7, 2015

When going to /groups/1/bulletins/new, the default value for publishedAt should be the upcoming Sunday.

Tests

  • If going to the page on a Monday, it will default the publishedAt to the following Monday.
  • If going to the page on a Sunday, it will default the publishedAt to the next Sunday.
@achan achan self-assigned this Jan 7, 2015
@achan achan added this to the Bulletins milestone Jan 7, 2015
@achan achan mentioned this issue Jan 7, 2015
3 tasks
@achan achan closed this as completed in #7 Jan 7, 2015
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 a pull request may close this issue.

1 participant