summaryrefslogtreecommitdiff
path: root/tools/get-scala-commit-date
diff options
context:
space:
mode:
Diffstat (limited to 'tools/get-scala-commit-date')
-rwxr-xr-xtools/get-scala-commit-date3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/get-scala-commit-date b/tools/get-scala-commit-date
index ef5b0f540d..b2e4e10770 100755
--- a/tools/get-scala-commit-date
+++ b/tools/get-scala-commit-date
@@ -11,6 +11,7 @@
[[ $# -eq 0 ]] || cd "$1"
lastcommitdate=$(git log --format="%ci" HEAD | head -n 1 | cut -d ' ' -f 1)
+lastcommithours=$(git log --format="%ci" HEAD | head -n 1 | cut -d ' ' -f 2)
# 20120324
-echo "${lastcommitdate//-/}"
+echo "${lastcommitdate//-/}-${lastcommithours//:/}"