Skip to content

Commit 8caaf82

Browse files
committed
fix(githooks): make it compatible with macOS
1 parent 7722b4b commit 8caaf82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.githooks/pre-commit

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
BBLUE='\033[1;34m'
66
GREEN='\033[0;32m'
77
NC='\033[0m'
8-
DATE=$(date --utc)
8+
DATE=$(date -u)
99

1010
# Stash unstaged changes
1111
git stash -q --keep-index

0 commit comments

Comments
 (0)