Added pytz as a new dependency, please install it in your existing envs:
pip install pytz
Added a timezone attribute to users, to store in which timezone they are,
defaults to 'UTC'. Ensure any users you could have in your database have
such attribute. You can add it in pshell:
for user in root.users:
user.timezone = 'UTC'
request.tm.commit()
Modified schemas/templates/views to let users choose their timezone based
on a list of "common" timezones provided by pytz
Added two methods to the Workout model so we can get the start and end dates
formatted in the appropiate timezone (all datetime objects are stored in UTC)
Modified the templates where we show workout dates and times so the new
timezone-formatting methods are used.