timestamps written into the database should really be UTC

This commit is contained in:
2025-10-13 15:31:43 -06:00
parent abd14ea24e
commit 55f5cc5eca
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ func (fld *DialogItem) AsDate() *time.Time {
if fld.Type == "date" && fld.AuxData != nil {
v := fld.AuxData.([]int)
if v[0] >= 1 && v[1] >= 1 && v[2] >= 1 {
rc := time.Date(v[2], time.Month(v[0]), v[1], 0, 0, 0, 0, time.Now().Location())
rc := time.Date(v[2], time.Month(v[0]), v[1], 0, 0, 0, 0, time.Local)
return &rc
}
}