Time improvements.

This commit is contained in:
Nuno Cruces
2025-09-19 11:13:23 +01:00
parent c3ebb04045
commit cc353e4848
3 changed files with 14 additions and 10 deletions

View File

@@ -194,7 +194,7 @@ func timestamp(ctx sqlite3.Context, arg ...sqlite3.Value) {
switch u.Version() {
case 1, 2, 6, 7:
ctx.ResultTime(
time.Unix(u.Time().UnixTime()),
time.Unix(u.Time().UnixTime()).UTC(),
sqlite3.TimeFormatDefault)
}
}