details: https://code.tryton.org/tryton/commit/148b0afb5517
branch: 8.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 8464a1301c51 -r 148b0afb5517 sao/src/pyson.js
--- a/sao/src/pyson.js Tue Oct 27 14:36:00 2026 +0100
+++ b/sao/src/pyson.js Thu Oct 29 10:22:24 2026 +0100
@@ -794,7 +794,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);