php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70369 strtotime has incorrect timezone for KST (Korea)
Submitted: 2015-08-27 15:31 UTC Modified: 2015-08-27 16:29 UTC
From: notvalid at example dot com Assigned:
Status: Duplicate Package: Date/time related
PHP Version: 5.6.12 OS: Irrelevant
Private report: No CVE-ID: None
 [2015-08-27 15:31 UTC] notvalid at example dot com
Description:
------------
The time information returned from strtotime when working with KST is incorrect.

Test script:
---------------
$ TZ=Asia/Seoul php -r "print date('r',  strtotime ('Aug 25 2015 0700 KST'));"


Expected result:
----------------
Tue, 25 Aug 2015 07:00:00 +0900

Actual result:
--------------
Tue, 25 Aug 2015 08:00:00 +0900

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-08-27 16:29 UTC] cmb@php.net
-Status: Open +Status: Duplicate
 [2015-08-27 16:29 UTC] cmb@php.net
This is a duplicate of bug #51557.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 05 12:01:29 2024 UTC