summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/date/php_date.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/php_date.c b/ext/date/php_date.c
index d8cec0224a..230f1a5b0c 100644
--- a/ext/date/php_date.c
+++ b/ext/date/php_date.c
@@ -2410,7 +2410,7 @@ static int date_initialize(php_date_obj *dateobj, /*const*/ char *time_str, int
}
timelib_unixtime2local(now, (timelib_sll) time(NULL));
- timelib_fill_holes(dateobj->time, now, TIMELIB_NO_CLONE);
+ timelib_fill_holes(dateobj->time, now, 0);
timelib_update_ts(dateobj->time, tzi);
dateobj->time->have_relative = 0;