Verified Commit 197c7c28 authored by Max Rees's avatar Max Rees
Browse files

Use datetime.datetime.timestamp() instead of .strftime("%s")

parent ce4c56d8
......@@ -279,7 +279,7 @@ def populate_bugs(conf, db, pkgids):
bug["id"], bug["summary"], ",".join(bug["keywords"]),
bug["last_change_time"], BZ_DATE_FORMAT,
apkvitrine.models.Bug.insertmany(db, bugs)
......@@ -330,7 +330,7 @@ def populate_merges(conf, db, pkgids):
merge["iid"], merge["title"], ",".join(merge["labels"]),
merge["updated_at"], GL_DATE_FORMAT,
matches = True
mergelinks.append(apkvitrine.models.Mergelink(merge["iid"], pkgid))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment