summaryrefslogtreecommitdiff
path: root/ext/date/lib/timelib_structs.h
diff options
context:
space:
mode:
authorDerick Rethans <github@derickrethans.nl>2014-01-26 13:58:13 +0100
committerDerick Rethans <github@derickrethans.nl>2014-01-26 14:01:58 +0100
commit22dba2f5f3211efe6c3b9bb24734c811ca64c68c (patch)
treeb1b110836acc9f9943d3561635813f214ea9cca9 /ext/date/lib/timelib_structs.h
parent4e308abf28d542de0f1251b5e5c523d4701af4b4 (diff)
downloadphp-git-22dba2f5f3211efe6c3b9bb24734c811ca64c68c.tar.gz
Fixed bug #45543: DateTime::setTimezone can not set timezones without ID.
Diffstat (limited to 'ext/date/lib/timelib_structs.h')
-rw-r--r--ext/date/lib/timelib_structs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/date/lib/timelib_structs.h b/ext/date/lib/timelib_structs.h
index 2648c52e66..5185e7b40b 100644
--- a/ext/date/lib/timelib_structs.h
+++ b/ext/date/lib/timelib_structs.h
@@ -172,6 +172,12 @@ typedef struct timelib_time {
* 2 TimeZone abbreviation */
} timelib_time;
+typedef struct timelib_abbr_info {
+ timelib_sll utc_offset;
+ char *abbr;
+ int dst;
+} timelib_abbr_info;
+
typedef struct timelib_error_message {
int position;
char character;