summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/views.py2
-rw-r--r--templates/packages/details.html2
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>