mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
- Fixed logic.
This commit is contained in:
parent
343af548a6
commit
69feece2bc
@ -620,7 +620,7 @@ PHPAPI void php_strftime(INTERNAL_FUNCTION_PARAMETERS, int gmt)
|
||||
}
|
||||
|
||||
timelib_time_dtor(ts);
|
||||
if (gmt) {
|
||||
if (!gmt) {
|
||||
timelib_time_offset_dtor(offset);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user