History log of /PHP-8.2/ext/date/php_date.c (Results 101 – 125 of 940)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 0663c64f 29-Sep-2021 George Peter Banyard

Voidify php_date_interval_initialize_from_hash()

# 492980c5 29-Sep-2021 George Peter Banyard

Use bool/zend_result instead of int in Date extension

# 9d8f97d5 29-Sep-2021 Nikita Popov

Revert "Fix DATE_FORMAT_COOKIE definition"

This reverts commit ac34648cf6bf5493a8cd1a4c9a82406599f3f25c.

As pointed out on GH-6783, the new format doesn't match any of
the speci

Revert "Fix DATE_FORMAT_COOKIE definition"

This reverts commit ac34648cf6bf5493a8cd1a4c9a82406599f3f25c.

As pointed out on GH-6783, the new format doesn't match any of
the specified formats. Previously the constant generated

Thursday, 14-Jul-2005 22:30:41 BST

which is obsolete. Now it generates

Thu, 14-Jul-2005 22:30:41 BST

which is not specified at all. The correct version would be:

Thu, 14 Jul 2005 22:30:41 BST

Reverting the change for now.

show more ...

# ac34648c 17-Mar-2021 Mahmood Dhia

Fix DATE_FORMAT_COOKIE definition

In all of http://curl.haxx.se/rfc/cookie_spec.html,
https://docs.microsoft.com/de-de/windows/win32/wininet/http-cookies
and https://tools.ietf.org/h

Fix DATE_FORMAT_COOKIE definition

In all of http://curl.haxx.se/rfc/cookie_spec.html,
https://docs.microsoft.com/de-de/windows/win32/wininet/http-cookies
and https://tools.ietf.org/html/rfc7234#section-5.3 the cookie
datetime is specified as Mon, DD-Mon-YYYY HH:MM:SS GMT. However,
the current definition returns Monday, DD-Mon-YYY HH:MM:SS GMT.
Therefore, the "l" in "l, d-M-Y H:i:s T" must be changed to "D".

Closes GH-6783.

show more ...

# d9c8e5a4 08-Aug-2021 Derick Rethans

Fixed bug #80963: DateTimeZone::getTransitions() truncated

# 84008782 19-Jul-2021 Derick Rethans

Merge branch 'PHP-8.0'


# 9d0fb108 19-Jul-2021 Derick Rethans

Merge branch 'PHP-7.4' into PHP-8.0


# 26b1572d 19-Jul-2021 Derick Rethans

Move date timezone cache destruction to post deactivate

Some extensions try to use the date features in their own shutdown,
most notably some logging functions. Because of that, move the

Move date timezone cache destruction to post deactivate

Some extensions try to use the date features in their own shutdown,
most notably some logging functions. Because of that, move the
cache tear down until after these resources have been cleaned up.

show more ...

# aff36587 29-Jun-2021 Patrick Allaert

Fixed some spaces used instead of tabs

# 2f1d0f2b 07-May-2021 George Peter Banyard

Throw directly instead of replacing error handler in ext/date (#6954)

# 3b3f6de7 07-May-2021 Nikita Popov

Use zend_string_concat3 in one place

A bit nicer than snprintf + passing the same length around three
times.

# 2cd5a200 06-May-2021 George Peter Banyard

Refactor php_date_initialize_from_hash()

Use early returns
Formalize return type to bool

# 01b3fc03 06-May-2021 KsaR

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as

Update http->https in license (#6945)

1. Update: http://www.php.net/license/3_01.txt to https, as there is anyway server header "Location:" to https.
2. Update few license 3.0 to 3.01 as 3.0 states "php 5.1.1, 4.1.1, and earlier".
3. In some license comments is "at through the world-wide-web" while most is without "at", so deleted.
4. fixed indentation in some files before |

show more ...

# 5caaf40b 29-Sep-2020 George Peter Banyard

Introduce pseudo-keyword ZEND_FALLTHROUGH

And use it instead of comments

# 091c0920 30-Mar-2021 Derick Rethans

Upgrade timelib to 2021.03 and fix many date/time issues

# 6acb0799 17-Mar-2021 George Peter Banyard

Use zend_string_equals() API instead of strcmp() in Date extension

# b4e9b184 04-Mar-2021 Dmitry Stogov

Avoid useless date conversion

# 5f210620 03-Feb-2021 Máté Kocsis

Generate class entries for a few extensions

Relates to GH-6644

# 3e01f5af 15-Jan-2021 Nikita Popov

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool

Replace zend_bool uses with bool

We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.

Of course, zend_bool is retained as an alias.

show more ...

# 41b096b3 25-Sep-2020 Máté Kocsis

Promote a few forgotten warnings to exceptions

Closes GH-6211

# 95f4ee38 22-May-2020 George Peter Banyard

Add some ValueErrors to ext/date

Closes GH-5613

# 8e8a277b 14-Sep-2020 Máté Kocsis

Slightly improve error handling in DatePeriod::__construct()

# 2ee23352 04-Sep-2020 Derick Rethans

Fixed bug #80057 (DateTimeImmutable::createFromFormat() does not populate time)

# ecd986c8 31-Aug-2020 Nikita Popov

Fix build warnings after timelib update

# ac98ac72 27-Aug-2020 Nikita Popov

Merge branch 'PHP-7.4'

* PHP-7.4:
Don't assert when comparing uninit DateTimeZone objects


12345678910>>...38