summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Hall <Hallzy.18@gmail.com>2015-10-16 07:43:23 -0700
committerSteven Hall <Hallzy.18@gmail.com>2015-10-16 07:43:23 -0700
commit104d96c9ff839ab1bf5789a06df887b546d60dfe (patch)
treed3669c96b3bd2dce39756f5443f9254840927c91
parent3aec9621ca391d8ea61df4daddb407a7acf1ecf6 (diff)
parent532d76036d5d5cd9161d90a735ed0edd1f9c869d (diff)
downloadgit-sonar-104d96c9ff839ab1bf5789a06df887b546d60dfe.tar.gz
git-sonar-104d96c9ff839ab1bf5789a06df887b546d60dfe.zip
Merge pull request #1 from michaeldfallen/hallzy_issue69
Switch to using %Y to get the modified time
-rwxr-xr-xradar-base.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/radar-base.sh b/radar-base.sh
index 02b1bb9..7c27165 100755
--- a/radar-base.sh
+++ b/radar-base.sh
@@ -153,7 +153,7 @@ record_timestamp() {
timestamp() {
if is_repo; then
- printf '%s' "$($(stat_type) -c%Z "$(dot_git)/lastupdatetime" 2>/dev/null || printf '%s' "0")"
+ printf '%s' "$($(stat_type) -c%Y "$(dot_git)/lastupdatetime" 2>/dev/null || printf '%s' "0")"
fi
}