d-tamm / ff-boka

Bokningssystem för Friluftsfrämjandets lokalavdelningar
GNU General Public License v3.0
4 stars 0 forks source link

Use UTC for all dates #236

Open d-tamm opened 4 years ago

d-tamm commented 4 years ago

There seems to be a timezone issue for some platforms. A user reports that she placed a booking from 10 to 15, however the booking was saved from 12 to 17.

d-tamm commented 4 years ago

The whole code needs to get reviewed and all datetime handling be done in UTC.

d-tamm commented 4 years ago

Quickfix 682f0ef solves the most urgent problem of dates from the date picker being misinterpreted. But anyway, it would be better to convert all to UTC.