Tryton - Issues

 

Issue7240

Title Instanciate datetime with current time
Priority bug Status resolved
Superseder Nosy List ced, reviewbot, roundup-bot
Type behavior Components sao
Assigned To ced Keywords review
Reviews 41951002
View: 41951002

Created on 2018-03-20.13:33:28 by ced, last changed by roundup-bot.

Messages
New changeset bea6c6a3e125 by Cédric Krier in branch '4.6':
Do not set time to 0 when instantiate DateTime without time value
http://hg.tryton.org/sao/rev/bea6c6a3e125

New changeset aac5dfe82eb7 by Cédric Krier in branch '4.6':
Set time to 0 when undefined
http://hg.tryton.org/sao/rev/aac5dfe82eb7

New changeset 6198a644d007 by Cédric Krier in branch '4.4':
Do not set time to 0 when instantiate DateTime without time value
http://hg.tryton.org/sao/rev/6198a644d007

New changeset ad8754589e9e by Cédric Krier in branch '4.4':
Set time to 0 when undefined
http://hg.tryton.org/sao/rev/ad8754589e9e

New changeset bc3930e8f546 by Cédric Krier in branch '4.2':
Do not set time to 0 when instantiate DateTime without time value
http://hg.tryton.org/sao/rev/bc3930e8f546

New changeset abc6c0f980ee by Cédric Krier in branch '4.2':
Set time to 0 when undefined
http://hg.tryton.org/sao/rev/abc6c0f980ee

New changeset 21fa9f54ca7c by Cédric Krier in branch '4.0':
Do not set time to 0 when instantiate DateTime without time value
http://hg.tryton.org/sao/rev/21fa9f54ca7c

New changeset 8a1a6b19cd0b by Cédric Krier in branch '4.0':
Set time to 0 when undefined
http://hg.tryton.org/sao/rev/8a1a6b19cd0b

New changeset a408492e972b by Cédric Krier in branch '3.8':
Do not set time to 0 when instantiate DateTime without time value
http://hg.tryton.org/sao/rev/a408492e972b

New changeset 74c77d93f081 by Cédric Krier in branch '3.8':
Set time to 0 when undefined
http://hg.tryton.org/sao/rev/74c77d93f081
New changeset b4a5c87d6ffa by Cédric Krier in branch 'default':
Set time to 0 when undefined
http://hg.tryton.org/sao/rev/b4a5c87d6ffa
New changeset 411bfe305ba1 by Cédric Krier in branch 'default':
Do not set time to 0 when instantiate DateTime without time value
http://hg.tryton.org/sao/rev/411bfe305ba1
review41951002 updated at https://codereview.tryton.org/41951002/#ps1
msg39113 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-03-20.13:33:27
Sao.DateTime set the time to 0 if a value is not set. This is not what it is expected for the same code in tryton.
Indeed this break the PYSON DateTime with no value as it does not evaluate to the current datetime but to the beginning of the day.
History
Date User Action Args
2018-04-04 22:36:04roundup-botsetmessages: + msg39717
2018-03-24 01:46:11roundup-botsetmessages: + msg39310
2018-03-24 00:24:54roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg39309
2018-03-20 13:45:28reviewbotsetnosy: + reviewbot
messages: + msg39115
2018-03-20 13:34:33cedsetstatus: in-progress -> testing
reviews: 41951002
keyword: + review
2018-03-20 13:33:28cedcreate

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