Go to file
Leo Franchi eb0f8bda09 Ensure the last_reminder datatetime is tz-aware
I don't fully understand the need for this, but I have seen some
tracebacks on app that complain:

File "/home/humbug/humbug-deployments/2013-07-11-19-28-10/zephyr/lib/actions.py", line 1289, in handle_missedmessage_emails
    timestamp - user_profile.last_reminder < waitperiod):
TypeError: can't subtract offset-naive and offset-aware datetimes

Since timestamp in this case comes from timestamp_to_datetime
that explicitly sets the tzinfo, we know it's tz-aware. The only
other possibility is that user_profile.last_reminder is **not**
tz-aware, though I am not sure why that would be the case.

(imported from commit 67e33f4510e91fa9de504f0c610515581312c98b)
2013-07-12 09:57:09 -04:00
api api: Fix using staging.humbughq.com as the base_url. 2013-06-28 15:57:28 -04:00
assets favicon: Add an 'infinite' favicon for more than 99 messages 2013-02-15 16:18:24 -05:00
bots zephyr_mirror: you no longer need to reload Humbug after subbing. 2013-06-28 15:57:29 -04:00
certs Include certificate for staging.zulip.com. 2013-07-02 12:04:56 -04:00
confirmation Add metrics variables to the template context via a context processor 2013-06-18 17:07:36 -04:00
humbug Refactor popovers into their own file 2013-07-08 18:53:03 -04:00
node_modules Import Handlebars compiler and dependencies 2013-04-02 14:43:58 -04:00
servers [manual] Update desktop apps to 0.3.3 2013-07-05 16:41:26 -04:00
templates Formatting help: Make the bulleted list a little more explicit. 2013-07-11 14:35:50 -04:00
tools Revert to old mark as unread on view behavior. 2013-07-11 14:01:26 -04:00
zephyr Ensure the last_reminder datatetime is tz-aware 2013-07-12 09:57:09 -04:00
.gitignore gitignore memcached_prefix 2013-06-12 17:16:37 -04:00
manage.py Make manage.py spit out tracebacks, without a patched django 2013-05-28 19:05:06 -04:00