details: https://code.tryton.org/tryton/commit/62eec547a26d
branch: 7.0
user: Eva Luadora <[email protected]>
date: Thu Oct 29 10:22:24 2026 +0100
description:
Preserve the local calendar date when evaluating PYSON Date
Closes #15142
(grafted from d17976f28db5277b1835304915c94b2a0db91a78)
diffstat:
sao/src/pyson.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 520fac1667b3 -r 62eec547a26d sao/src/pyson.js
--- a/sao/src/pyson.js Tue Oct 20 12:40:16 2026 +0200
+++ b/sao/src/pyson.js Thu Oct 29 10:22:24 2026 +0100
@@ -775,7 +775,7 @@
}
if (!date || !date.isDate) {
date = Sao.Date();
- date.utc();
+ date.utc(true);
}
if (value.y) date.year(value.y);
if (value.M) date.month(value.M - 1);