diff options
author | Dan McGee <dan@archlinux.org> | 2011-04-07 22:39:53 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-04-08 00:03:00 +0200 |
commit | 01db07bad844e17e084f650b6732647f77a91c5c (patch) | |
tree | 3260bae1697f2aaac5140f20ea9d0e30953a5be7 /packages/views.py | |
parent | 7d08d59280dc4ddbe43f277e177bce683dd51188 (diff) | |
download | archweb-01db07bad844e17e084f650b6732647f77a91c5c.tar.gz archweb-01db07bad844e17e084f650b6732647f77a91c5c.tar.xz |
Use UTC datetime objects everywhere
Rather than the twisted mix of local times and UTC times we currently have.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages/views.py')
-rw-r--r-- | packages/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/views.py b/packages/views.py index 2f614e3..1587563 100644 --- a/packages/views.py +++ b/packages/views.py @@ -371,7 +371,7 @@ def flag(request, name, repo, arch): # find all packages from (hopefully) the same PKGBUILD pkgs = Package.objects.filter( pkgbase=pkg.pkgbase, repo__testing=pkg.repo.testing) - pkgs.update(flag_date=datetime.now()) + pkgs.update(flag_date=datetime.utcnow()) maints = pkg.maintainers if not maints: |