Times reported inaccurately when DB timezone does not match PHP timezone
Bug #1771362 reported by
Mark Webster
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Wishlist
|
Mark Webster |
Bug Description
See https:/
TL,DR Mahara has no support for multiple timezones and assumes that the PHP date.timezone and the database server's timezone are identical. If they are not, then all dates that get stored into the database and displayed back to the user will be off by (Database UTC offset - PHP UTC offset).
Changed in mahara: | |
assignee: | nobody → Mark Webster (mark-webster-v) |
Changed in mahara: | |
status: | In Progress → Fix Committed |
tags: | added: nominatedfeature |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thanks for going to look into this, Mark.
This will need to be tested with both Postgres and MySQL.