[PATCH] test-parse-date: fix timezone name used to test local time with DST

Sébastien Brissaud sebastien at brissaud.name
Sun Feb 7 08:19:48 UTC 2016


# HG changeset patch
# User Sébastien Brissaud <sebastien at brissaud.name>
# Date 1454832007 -3600
#      Sun Feb 07 09:00:07 2016 +0100
# Node ID b84a4ea4ff50648173548ba0e4d2a2986b378adc
# Parent  a036e1ae1fbe88ab99cb861ebfc2e4da7a3912ca
test-parse-date: fix timezone name used to test local time with DST

As specified in ftp://ftp.iana.org/tz/data/northamerica, the correct name of
Pacific Standard Time with Daylight Saving Time is 'PST8PDT'.

diff --git a/tests/test-parse-date.t b/tests/test-parse-date.t
--- a/tests/test-parse-date.t
+++ b/tests/test-parse-date.t
@@ -28,7 +28,7 @@
 
 Check with local timezone other than GMT and with DST
 
-  $ TZ="PST+8PDT"
+  $ TZ="PST8PDT"
   $ export TZ
 
 PST=UTC-8 / PDT=UTC-7


More information about the Mercurial-devel mailing list