summaryrefslogtreecommitdiff
path: root/ext/date/lib/parse_tz.c
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2005-06-30 21:38:06 +0000
committerDerick Rethans <derick@php.net>2005-06-30 21:38:06 +0000
commite155585e6e1338110b0c31e1054d6b28b5bcff5b (patch)
treed6cf6de0ff527954dcacab6a9099faa23e5e4c31 /ext/date/lib/parse_tz.c
parent2e794631203339035f705f81e4855642b3332f97 (diff)
downloadphp-git-e155585e6e1338110b0c31e1054d6b28b5bcff5b.tar.gz
- Reimplemented date and gmdate with new timelib code.
- Removed old date/gmdate implementations. - Moved date() related testcases to ext/date/tests. - Implemented bug #33452. - Fixed testcase for bug #27719 - there is no timezone called "EST5DST".
Diffstat (limited to 'ext/date/lib/parse_tz.c')
-rw-r--r--ext/date/lib/parse_tz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/lib/parse_tz.c b/ext/date/lib/parse_tz.c
index 79e8f621a9..fa06fa21e6 100644
--- a/ext/date/lib/parse_tz.c
+++ b/ext/date/lib/parse_tz.c
@@ -193,7 +193,7 @@ static int tz_search(char *timezone, int left, int right)
mid = (left + right) / 2;
- cmp = strcmp(timezone, timezonedb_idx[mid].id);
+ cmp = strcasecmp(timezone, timezonedb_idx[mid].id);
if (cmp < 0) {
return tz_search(timezone, left, mid - 1);
} else if (cmp > 0) {