Browse files

Do not use utcnow() if formatting time as %s

%s is already giving time in UTC. If we use utcnow() on top of that,
then we don't get the real time, but a time with a timezone difference.
  • Loading branch information...
1 parent 3a29237 commit c2e4222d3566c5205899d0232e7371187506c8fc @vuntz vuntz committed Dec 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 git_tarballs
2 git_tarballs
@@ -105,7 +105,7 @@ def get_commit_from_spec(package):
def package_version(upstream_version, upstream_commit):
return '%s+git.%s.%s' % (upstream_version,
- datetime.utcnow().strftime('%s'),

0 comments on commit c2e4222

Please sign in to comment.