refactor; save date and time in UTC correctly
This commit is contained in:
@@ -41,7 +41,7 @@ const getAllFinishedBookings = () => {
|
||||
const filters = {
|
||||
canceled: false,
|
||||
end: {
|
||||
[Op.lt]: moment().toISOString()
|
||||
[Op.lt]: moment.tz('UTC')
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user