Commit Graph

8 Commits

Author SHA1 Message Date
Gergely Polonkai d07e34a182 Display event timestamps in the current user’s time zone 2018-07-03 12:11:38 +02:00
Gergely Polonkai 8a7772917c Add the User.timezone property
It either queries the user’s `timezone` setting, uses the app’s default time zone (stored in the
`DEFAULT_TIMEZONE` configuration key), or uses UTC as a final fallback.
2018-07-03 12:11:38 +02:00
Gergely Polonkai 60aab91c08 User settings 2018-07-03 12:09:44 +02:00
Gergely Polonkai 3cf2c15d3d [Refactor] Refactor Event.__as_tz() so it accepts a timezone
Until now it could only convert to the event’s timezone
2018-07-03 12:09:44 +02:00
Gergely Polonkai 2f66fdb83e [Docs] Add/update docstrings and license text in every file 2018-07-03 09:52:25 +02:00
Gergely Polonkai 6e0d50552d [Code Cleanup] Remove an unused import 2018-07-03 09:52:19 +02:00
Gergely Polonkai 8a46f3c66a Add proper time zone support
Until now event timestamps were saved in the server’s time zone.  Now they are saved in UTC,
considering the time zone set by the creator of the event.
2018-07-02 17:32:06 +02:00
Gergely Polonkai 7846d9017d [Refactor] Rename the app module to calsocial
Just for clarity
2018-07-02 10:41:32 +02:00