refactor; save date and time in UTC correctly

This commit is contained in:
Bilal Catic
2019-06-24 09:52:34 +02:00
parent 0a95129e98
commit 7f0042633c
3 changed files with 8 additions and 162 deletions

View File

@@ -41,7 +41,7 @@ const getAllFinishedBookings = () => {
const filters = {
canceled: false,
end: {
[Op.lt]: moment().toISOString()
[Op.lt]: moment.tz('UTC')
}
};