diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-08-12 17:06:02 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-08-13 12:02:27 +0200 |
commit | cdc4e49b84230c98a27b788db9a9530bea2b8d17 (patch) | |
tree | 401ecbcce58018502de7503bbf342fb220d666e5 /sapi/cli | |
parent | f16c1dc7ee8bd6c3289cdbb76c5550767fb4f64b (diff) | |
download | php-git-cdc4e49b84230c98a27b788db9a9530bea2b8d17.tar.gz |
Make strftime tests musl compatible
* Remove usage of strftime() in favor of date() in cases where
we are not specifically testing strftime(). We implement
date() ourselves, and as such are insulated from implementation-
defined behavior.
* Add skipif for broken strftime() %Z support. We have decided
not to work around the issue for musl using manual expansion,
as people should not be using this function anyway, and it is
slated for future deprecation.
* Don't test strftime() with invalid format specifier. The
behavior is implementation-dependent.
Diffstat (limited to 'sapi/cli')
0 files changed, 0 insertions, 0 deletions