about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2015-07-09 18:01:35 +0200
committerMikael Magnusson <mikachu@gmail.com>2015-07-09 18:03:00 +0200
commit41888ae936cbf2a978cdf96f87804ef59861fc53 (patch)
tree8ca30ac7ae91d6ae1f257d5573c71b5f25c62287 /Test
parent3af55c858f12fe72eebd6addca89bf6395cae826 (diff)
downloadzsh-41888ae936cbf2a978cdf96f87804ef59861fc53.tar.gz
zsh-41888ae936cbf2a978cdf96f87804ef59861fc53.tar.xz
zsh-41888ae936cbf2a978cdf96f87804ef59861fc53.zip
unposted: Make V09 set a known timezone
Diffstat (limited to 'Test')
-rw-r--r--Test/V09datetime.ztst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Test/V09datetime.ztst b/Test/V09datetime.ztst
index c69e31ed5..a3b4e8c81 100644
--- a/Test/V09datetime.ztst
+++ b/Test/V09datetime.ztst
@@ -7,6 +7,7 @@
   zmodload zsh/datetime
   unset LC_ALL
   LC_TIME=C
+  TZ=UTC+0
   if [[ "$(strftime %04y 1)" = "0070" ]]; then
     [[ "$(LC_TIME=ja_JP.UTF-8 strftime %OS 1)" = δΈ€ ]] || {
       print -u $ZTST_fd "Not testing alternate date format extensions (missing ja_JP.UTF-8 locale)"
@@ -27,12 +28,12 @@
 >70
 >2001
 >01/10/08
->22:20:01
+>21:20:01
 
-  strftime %-m_%f_%K_%L 1181000000
+  strftime %-m_%f_%K_%L 1181100000
   strftime %6. 0
 0:zsh extensions
->6_5_1_1
+>6_6_3_3
 >000000
 
   [[ $skip_japanese = 1 ]] && repeat 5; do echo skipped; done || (