summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2012-09-01 10:34:26 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2012-09-01 10:34:26 +0100
commit5fc21fc4a0cb705b7553b852db10e3278bddb9fe (patch)
tree1133049d757ad577ee852d91a9962981b426f2e6
parentddc9a9ca545529199e4dfbc33ef8ca9e708c6b60 (diff)
downloadgitano-5fc21fc4a0cb705b7553b852db10e3278bddb9fe.tar.gz
COMMAND: destroy: Fix broken time format so hour is now zero-padded
-rw-r--r--lib/gitano/command.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitano/command.lua b/lib/gitano/command.lua
index aa33083..f3da64b 100644
--- a/lib/gitano/command.lua
+++ b/lib/gitano/command.lua
@@ -682,7 +682,7 @@ local function builtin_destroy_run(config, repo, cmdline, env)
return "exit", 1
end
-- Tokens match, ask the repo to destroy itself
- local nowstamp = os.date("!%Y-%m-%d.%k:%M:%S.UTC")
+ local nowstamp = os.date("!%Y-%m-%d.%H:%M:%S.UTC")
local ok, msg = repo:destroy_self(nowstamp .. "." ..
(repo.name:gsub("[^A-Za-z0-9_%.%-]",
"_")) ..