This commit is contained in:
katherinehhh 2025-06-29 21:41:00 -07:00
parent 0bb95fbfb0
commit 6ed84439a3

View File

@ -53,13 +53,13 @@ function parseDateTimezone(ctx) {
return ctx.db.options.timezone;
}
// if (field.constructor.name === 'DatetimeNoTzField') {
// return '+00:00';
// }
if (field.constructor.name === 'DatetimeNoTzField') {
return '+00:00';
}
// if (field.constructor.name === 'DateOnlyField') {
// return '+00:00';
// }
if (field.constructor.name === 'DateOnlyField') {
return '+00:00';
}
return ctx.db.options.timezone;
}