Commit Graph

6 Commits

Author SHA1 Message Date
Dan McGee
c0bf9e2066 Remove custom utc_now() function, use django.utils.timezone.now()
This was around from the time when we handled timezones sanely and
Django did not; now that we are on 1.4 we no longer need our own code to
handle this.

Signed-off-by: Dan McGee <dan@archlinux.org>
2012-07-24 19:57:20 -05:00
Dan McGee
90e08b4863 Make all datetime objects fully timezone aware
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: Dan McGee <dan@archlinux.org>
2012-03-23 19:54:40 -05:00
Dan McGee
366e438ed5 releng syncisos: reactive inactive ISOs if available
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-17 16:14:49 -05:00
Dan McGee
f7626c0571 Add a removed date for releng ISOs
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-16 14:39:41 -05:00
Dan McGee
23cda53f81 releng: auto-deactivate old ISO names
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-29 10:16:17 -05:00
Dan McGee
bfe6afcd7a Rename isotests to releng
Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-28 17:58:13 -05:00