Skip to content

Commit

Permalink
[#3447] Resource creation date use datetime.utcnow()
Browse files Browse the repository at this point in the history
  • Loading branch information
Yan committed Feb 20, 2017
1 parent c871c71 commit d194f64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/model/resource.py
Expand Up @@ -48,7 +48,7 @@
Column('mimetype', types.UnicodeText),
Column('mimetype_inner', types.UnicodeText),
Column('size', types.BigInteger),
Column('created', types.DateTime, default=datetime.datetime.now),
Column('created', types.DateTime, default=datetime.datetime.utcnow),
Column('last_modified', types.DateTime),
Column('cache_url', types.UnicodeText),
Column('cache_last_updated', types.DateTime),
Expand Down

0 comments on commit d194f64

Please sign in to comment.