1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Fix stftime format string used in CVS module to be Windows-compatible (closes #3383)

git-svn-id: http://svn.rubyonrails.org/rails/tools/switchtower@3444 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jamis Buck 2006-01-21 04:28:59 +00:00
parent d04f90dfb2
commit 88fca55025
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
*0.11.0* *SVN*
* Fix stftime format string used in CVS module to be Windows-compatible (fixes #3383)
* Add an better error when a task is run and no servers match the required conditions
* Add default spinner and cold_deploy tasks, and spinner_user variable

View file

@ -32,7 +32,7 @@ module SwitchTower
configuration.logger.debug "querying latest revision..."
@latest_revision = cvs_log(configuration.local).
split(/\r?\n/).
grep(/^date: (.*?);/) { Time.parse($1).strftime("%F %T") }.
grep(/^date: (.*?);/) { Time.parse($1).strftime("%Y-%m-%d %H:%M:%S") }.
sort.
last
end