Tryton - Issues

 

Issue7263

Title DateTrunc failed for month
Priority bug Status resolved
Superseder Nosy List ced, reviewbot, roundup-bot
Type crash Components trytond
Assigned To ced Keywords review
Reviews 45311002
View: 45311002

Created on 2018-03-26.15:38:45 by ced, last changed by roundup-bot.

Messages
New changeset 59bb8352abaa by C├ędric Krier in branch 'default':
Replace day and month by 1 in date_trunk for SQLite
http://hg.tryton.org/trytond/rev/59bb8352abaa
msg39426 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-03-26.16:14:26
I did not add a test for this method because we do not have backend test methodology and also because I think those methods should be provided by python-sql.
review45311002 updated at https://codereview.tryton.org/45311002/#ps1
msg39414 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-03-26.15:38:45
The date_trunc python method replace the day and month by 0 which is not valid value.
History
Date User Action Args
2018-03-27 22:14:05roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg39464
2018-03-26 16:14:26cedsetmessages: + msg39426
2018-03-26 15:45:25reviewbotsetnosy: + reviewbot
messages: + msg39419
2018-03-26 15:43:44cedlinkissue7264 superseder
2018-03-26 15:40:46cedsetstatus: in-progress -> testing
reviews: 45311002
keyword: + review
2018-03-26 15:38:45cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)