Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
b38568e5 by Cédric Krier at 2024-12-15T20:54:23+01:00
Fix DATE_TRUNC with date and time

Since 96bc08db1fd5, fromisoformat is used so the value may be a date or a time.
So not all the attributes are available for those types.
And SQL requires to always return a datetime.
- - - - -
53e55592 by Cédric Krier at 2024-12-15T20:55:42+01:00
Add support for DATE_TRUNC from INTERVAL to SQLite backend
- - - - -


3 changed files:

- trytond/CHANGELOG
- trytond/trytond/backend/sqlite/database.py
- trytond/trytond/tests/test_backend.py


View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/e41a0da40c266394414ec67a07ec4768318d86f3...53e555926b2f153511cd244a8cb89cd661f50a5d

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/compare/e41a0da40c266394414ec67a07ec4768318d86f3...53e555926b2f153511cd244a8cb89cd661f50a5d
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to