Patchwork test-parse-date: fix timezone name used to test local time with DST

login
register
mail settings
Submitter Sébastien Brissaud
Date Feb. 7, 2016, 8:19 a.m.
Message ID <b84a4ea4ff5064817354.1454833188@waste.org>
Download mbox | patch
Permalink /patch/13070/
State Superseded
Headers show

Comments

Sébastien Brissaud - Feb. 7, 2016, 8:19 a.m.
# HG changeset patch
# User Sébastien Brissaud <sebastien@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'.

Patch

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