Tutor Time Errors, DST, and Profile Updates
Dealing with users is timezones over 12 hours apart has caused all sorts of interesting errors. Most recently, we noticed that adding new availability tended to be 12 hours off. Turns out there was a series of errors that lead to times being added wrong&em;apparently when I fixed it I didn't fix it everywhere.
So now, theoretically, that's fixed so that all times really are stored in the servers timezone and then converted for each user.
I also found an easy way to automatically adjust for Daylight Saving Time. Unfortunately, due to PHP's slight bias, it only works with US DST, not with European Summer Time. So, sorry Europeans, but you'll have to go through and adjust your timezone yourself.
Finally, I added what I always intended to have, but forgot about: immediate profile updates. If you change something on your profile, the update will automatically appear in both the database and the session, so the changes appear everywhere on the site simultaneously.
Labels: Bug Fix, New Feature
