details:   https://code.tryton.org/tryton/commit/b83ae0e9808c
branch:    8.2
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 d1b86d1b43cc -r b83ae0e9808c 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);

Reply via email to