Set the utc flag on Sao.Date

Closes #14510
(grafted from 7f19398f376080795764e089e2a87c3eaa0feda8)

--HG--
branch : 7.0
This commit is contained in:
Nicolas Évrard
2026-07-27 10:39:01 +02:00
parent 8f35023da7
commit a6951ea298
+1
View File
@@ -775,6 +775,7 @@
}
if (!date || !date.isDate) {
date = Sao.Date();
date.utc();
}
if (value.y) date.year(value.y);
if (value.M) date.month(value.M - 1);