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

December Bug #9828

Closed
wants to merge 2 commits into from
Closed

December Bug #9828

wants to merge 2 commits into from

Conversation

jestinepaul
Copy link

No description provided.

@@ -296,7 +296,7 @@
<field name="project_id" ref="project.project_project_data"/>
<field name="name">You can set a deadline on a task</field>
<field name="stage_id" ref="project_stage_data_1"/>
<field name="date_deadline" eval="'2015-%s-01' %(datetime.now().month+1)"/>
<field name="date_deadline" eval="'2015-%s-01' %((datetime.now().month+1)%12)"/>
Copy link
Contributor

Choose a reason for hiding this comment

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

@jestinepaul I would rather prefer (datetime.now() + relativedelta(months=1)).strftime('%Y-%m-%d')

@mart-e
Copy link
Contributor

mart-e commented Dec 1, 2015

Fixed at 0ee11f2 but thanks for the patch

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.

None yet

3 participants