Permalink
Browse files

Merge pull request #1 from vuntz/no-double-utc

Do not use utcnow() if formatting time as %s
  • Loading branch information...
2 parents 3a29237 + c2e4222 commit 61a13b7fbb2814121a9e0129440b31e3ed87b909 @bmwiedemann bmwiedemann committed Dec 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 git_tarballs
View
@@ -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'),
+ datetime.now().strftime('%s'),
upstream_commit[:COMMIT_HASH_SIZE])

0 comments on commit 61a13b7

Please sign in to comment.