mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-01 18:52:20 +08:00
fix: bug
This commit is contained in:
parent
0bb95fbfb0
commit
6ed84439a3
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user