details:   https://code.tryton.org/tryton/commit/d17976f28db5
branch:    default
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
diffstat:

 sao/src/pyson.js |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 51729a562a46 -r d17976f28db5 sao/src/pyson.js
--- a/sao/src/pyson.js  Wed Oct 28 18:56: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);

Reply via email to