[php-src] PR #11282: Fix GH-11281: DateTimeZone::getName() does not include seconds in offset

From: Date: Fri, 19 May 2023 23:37:38 +0000
Subject: [php-src] PR #11282: Fix GH-11281: DateTimeZone::getName() does not include seconds in offset
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-22546@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/11282 Author: nielsdos If the seconds portion is non-zero, include the seconds in the output. I didn't split the snprintf call along two paths to reduce code duplication. I looked up if this is well-defined behaviour: according to the C11 standard section 7.21.6.1 & 7.21.6.6 we can pass additional arguments to *printf functions and they'll just get ignored.

« previous php.git-pulls (#22546) next »