summaryrefslogtreecommitdiff
blob: d56e10c856bc1f0b8ca209ff53d96c9d9206afff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
See commit 66cda43f6783a2b869251f7093689751ae298070
diff --git a/NEWS b/NEWS
index 1e781d2..45e4f84 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,9 @@ Unreleased, experimental changes
     that tzset always has, by replacing invalid bytes with '_' and by
     shortening too-long abbreviations.
 
+    tzselect no longer mishandles POSIX TZ settings when GNU awk is used.
+    (Thanks to Stefan Kuhn.)
+
   Changes affecting build procedure
 
     'make check' now checks for links to links in the data.
diff --git a/tzselect.ksh b/tzselect.ksh
index 029abcd..d5dae17 100644
--- a/tzselect.ksh
+++ b/tzselect.ksh
@@ -328,7 +328,7 @@ while
 				tzname = "[^-+,0-9][^-+,0-9][^-+,0-9]+"
 				time = "[0-2]?[0-9](:[0-5][0-9](:[0-5][0-9])?)?"
 				offset = "[-+]?" time
-				date = "(J?[0-9]+|M[0-9]+\.[0-9]+\.[0-9]+)"
+				date = "(J?[0-9]+|M[0-9]+\\.[0-9]+\\.[0-9]+)"
 				datetime = "," date "(/" time ")?"
 				tzpattern = "^(:.*|" tzname offset "(" tzname \
 				  "(" offset ")?(" datetime datetime ")?)?)$"