Permalink
Browse files

Corrected timestamps and dates.

  • Loading branch information...
wayneeseguin committed Dec 15, 2011
1 parent d44c998 commit 457b7ecbba2cb68a19e4e63a2d51e4ac6ab7be02
Showing with 4 additions and 4 deletions.
  1. +3 −3 shell/functions
  2. +1 −1 shell/initialize
View
@@ -174,13 +174,13 @@ release()
versionedfs add \
path "${project_path}" \
name "${project}" \
- version ${version:=$(date +"%Y-%m-%dT%H:%M:%S")} \
+ version ${version:=${timestamp}} \
source "$stage_path"
versionedfs activate \
path "${project_path}" \
name "${project}" \
- version ${version:=$(date +"%Y-%m-%dT%H:%M:%S")}
+ version ${version:=${timestamp}}
path remove "$stage_path"
@@ -360,7 +360,7 @@ do_deploy()
log " Deploy started at ${timestamp}"
step deploy
- log " Deploy completed at $(date +%m.%d.%YT%H:%M:%S)"
+ log " Deploy completed at $(date +"%Y-%m-%dT%H%M%S")"
}
deploy()
View
@@ -22,7 +22,7 @@ then
log error "The project's repository_url must be set in configuration files (eg: ~/.smrc)"
fi
-timestamp="$(date +%m.%d.%YT%H:%M:%S)"
+timestamp="$(date +"%Y-%m-%dT%H%M%S")"
versionedfs create \
path "${project_path}" \

0 comments on commit 457b7ec

Please sign in to comment.