diff options
author | Dan McGee <dan@archlinux.org> | 2012-05-12 09:22:52 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-05-12 09:22:52 -0500 |
commit | f36d876aca5571f09032d0d2a67c8b1f1a3258c8 (patch) | |
tree | 320c016ae3458ae4b7232d9b5d77a7d9cafa38f8 | |
parent | c8a2b8db5188e04266744db9f5acc7d23d3c2e0e (diff) |
Change to new time access methods in pgpdump code
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | devel/views.py | 2 | ||||
-rw-r--r-- | templates/packages/details.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/devel/views.py b/devel/views.py index 7ef33362..0f1c8d15 100644 --- a/devel/views.py +++ b/devel/views.py @@ -280,7 +280,7 @@ def report(request, report_name, username=None): filtered = [] packages = packages.filter(pgp_signature__isnull=False) for package in packages: - sig_date = package.signature.datetime.replace(tzinfo=pytz.utc) + sig_date = package.signature.creation_time.replace(tzinfo=pytz.utc) package.sig_date = sig_date.date() key_id = package.signature.key_id signer = finder.find_by_pgp_key(key_id) diff --git a/templates/packages/details.html b/templates/packages/details.html index 4ab55ef2..4cb6032e 100644 --- a/templates/packages/details.html +++ b/templates/packages/details.html @@ -165,7 +165,7 @@ <td>{% with pkg.signer as signer %}{% if signer %}{% pgp_key_link pkg.signature.key_id signer.get_full_name %}{% else %}Unknown ({% pgp_key_link pkg.signature.key_id %}){% endif %}{% endwith %}</td> </tr><tr> <th>Signature Date:</th> - <td>{{ pkg.signature.datetime|date:"DATETIME_FORMAT" }} UTC</td> + <td>{{ pkg.signature.creation_time|date:"DATETIME_FORMAT" }} UTC</td> </tr>{% else %}<tr> <th>Signed By:</th> <td>Unsigned</td> |