Tryton - Issues

 

Message51119

Author edbo
Recipients amon-ra, ced, guillemNaN, pokoli, resteve, reviewbot
Date 2019-08-08.12:31:43
Content
IMO the code really looks ugly and cumber stone. I'm wondering if it is not better to just convert the datetime.date and datetime.datetime to a UNIX timestamp (https://en.wikipedia.org/wiki/Unix_time). It makes everything a lot easier and look better because date and time are both converted to seconds (example https://duckduckgo.com/?q=time+since+epoch&atb=v112-1&ia=answer). And it relaxes the system a bit because you can compare datetime.date en datetime.datetime objects.
History
Date User Action Args
2019-08-08 12:31:44edbosetmessageid: <1565260304.23.0.196412977069.issue4879@tryton.org>
2019-08-08 12:31:44edbosetrecipients: + ced, resteve, pokoli, guillemNaN, reviewbot, amon-ra
2019-08-08 12:31:44edbolinkissue4879 messages
2019-08-08 12:31:43edbocreate

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