Skip to content
  • Dan McGee's avatar
    Make all datetime objects fully timezone aware · 90e08b48
    Dan McGee authored
    
    
    This is most of the transition to Django 1.4 `USE_TZ = True`. We need to
    ensure we don't mix aware and non-aware datetime objects when dealing
    with datetimes in the code. Add a utc_now() helper method that we can
    use most places, and ensure there is always a timezone attached when
    necessary.
    
    Signed-off-by: default avatarDan McGee <dan@archlinux.org>
    90e08b48