Skip to content

Commit

Permalink
Refs #22047; use datetime call instead of time in order to get a huma…
Browse files Browse the repository at this point in the history
…n readable date set
  • Loading branch information
ichim-david committed Dec 22, 2014
1 parent 6059fe0 commit 9826f51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eea/versions/versions.py
Expand Up @@ -350,8 +350,8 @@ def check_versioning_status(self):
def set_versioning_status(self):
""" Set time of versioning creation
"""
now = time()
self.annotations["versioningInProgress"] = now
now = DateTime()
self.annotations["versioningInProgress"] = time()
user = self.get_logged_in_user()
logger.info("VersioningInProgress set for %s by %s at %s", self.url,
user, now)
Expand Down

0 comments on commit 9826f51

Please sign in to comment.