Updated dynamic release directory to use utc time instead of local time. Closes Issue #5
1 files changed, 2 insertions(+), 2 deletions(-)

M djeploy/deploy.py
M djeploy/deploy.py +2 -2
@@ 1,5 1,5 @@ 
 import os
-import time
+import datetime
 from fabric.api import task
 from djeploy import djeploy_require, set_env, get_env, command
 

          
@@ 49,7 49,7 @@ def make_release_directory(release=None)
     env_path = opts['env_path']
     release_dirname = opts['releases_dirname']
     if release is None:
-        release = time.strftime('%Y%m%d%H%M%S')
+        release = datetime.datetime.utcnow().strftime('%Y%m%d%H%M%S')
 
     release_path = os.path.join(env_path, release_dirname, release)
     command.run('mkdir -p %s' % release_path)