Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
date: use localtime() for "-local" time formats
[gitweb.git]
/
t
/
t0006-date.sh
diff --git
a/t/t0006-date.sh
b/t/t0006-date.sh
index 4b789c00f1227ecd35b8ce500441ca9a4982b56f..8e219b7c51fead82d81c049f8d1948016dc823e1 100755
(executable)
--- a/
t/t0006-date.sh
+++ b/
t/t0006-date.sh
@@
-56,6
+56,7
@@
check_show unix-local "$TIME" '1466000000'
check_show 'format:%z' "$TIME" '+0200'
check_show 'format-local:%z' "$TIME" '+0000'
check_show 'format:%Z' "$TIME" ''
+check_show 'format-local:%Z' "$TIME" 'UTC'
check_show 'format:%%z' "$TIME" '%z'
check_show 'format-local:%%z' "$TIME" '%z'