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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: notvalid at example dot com
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Tue Apr 23 08:01:30 2024 UTC