Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(7182)

Issue 167041: Create request with datetime.datetime instead of mx.Datetime for date fields (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 4 months ago by bch
Modified:
14 years, 4 months ago
Reviewers:
timitos, ced1
Visibility:
Public.

Description

... because the validation in backend/fields.py:108 only allow datetime.datetime.

Patch Set 1 #

Total comments: 3

Patch Set 2 : Use mx.DatetTime for now and removed debug raise #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M trytond/ir/cron.py View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 7
bch
14 years, 4 months ago (2009-12-07 09:47:54 UTC) #1
timitos
works for me http://codereview.appspot.com/167041/diff/1/2 File trytond/ir/cron.py (right): http://codereview.appspot.com/167041/diff/1/2#newcode148 trytond/ir/cron.py:148: raise why is this part of ...
14 years, 4 months ago (2009-12-07 11:02:01 UTC) #2
ced1
http://codereview.appspot.com/167041/diff/1/2 File trytond/ir/cron.py (right): http://codereview.appspot.com/167041/diff/1/2#newcode151 trytond/ir/cron.py:151: now = datetime.datetime.now() Should stay a DateTime http://codereview.appspot.com/167041/diff/1/2#newcode178 trytond/ir/cron.py:178: ...
14 years, 4 months ago (2009-12-07 11:10:47 UTC) #3
bch
14 years, 4 months ago (2009-12-07 12:10:28 UTC) #4
ced1
On 2009/12/07 12:10:28, bch wrote: > Ok. Can you check which version are affected.
14 years, 4 months ago (2009-12-07 12:11:45 UTC) #5
bch
On 2009/12/07 12:11:45, ced wrote: > On 2009/12/07 12:10:28, bch wrote: > > > > ...
14 years, 4 months ago (2009-12-07 12:41:54 UTC) #6
ced1
14 years, 4 months ago (2009-12-07 12:44:44 UTC) #7
On 2009/12/07 12:41:54, bch wrote:
> On 2009/12/07 12:11:45, ced wrote:
> > On 2009/12/07 12:10:28, bch wrote:
> > > 
> > 
> > Ok. Can you check which version are affected.
> 
> The bug appear only on trunk, the check on datetime fields was added one month
> after the release (and has not been backported).

Ok.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b