[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] s/utcnow/utcfromtimestamp/



---
 dak/queue_report.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dak/queue_report.py b/dak/queue_report.py
index 6b1cd56..7dd6f83 100755
--- a/dak/queue_report.py
+++ b/dak/queue_report.py
@@ -313,7 +313,7 @@ def table_row(source, version, arch, last_mod, maint, distribution, closes, fing
         print "%s<br/>" % (dist)
     print "</td>"
     print "<td class=\"age\"><abbr title=\"%s\">%s</abbr></td>" % (
-        datetime.datetime.utcnow(last_mod).strftime('%a, %d %b %Y %T UTC'),
+        datetime.datetime.utcfromtimestamp(last_mod).strftime('%a, %d %b %Y %T UTC'),
         time_pp(last_mod),
     )
     (name, mail) = maint.split(":", 1)
-- 
2.1.4


Reply to: