#1189 [NEW]: date('T') in the UK during summer-time gives 'BST'
| From: | uklinux at modem-help dot com | Date: | Mon, 12 Apr 2004 22:11:09 +0000 |
| Subject: | #1189 [NEW]: date('T') in the UK during summer-time gives 'BST' | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-3286@lists.php.net to get a copy of this message | ||
From: uklinux at modem-help dot com
Operating system: Red Hat Linux
PHP version: 4.2.2
PHP Bug Type: Documentation
Bug description: date('T') in the UK during summer-time gives 'BST'
Description:
------------
date('T') in the UK during Summer-Time gives 'BST', which results in dates
being set to 'Bangladesh Time' if $_DATE_TIMEZONE_DEFAULT is not preset.
This clearly needs to be added to the documentation.
Reproduce code:
---------------
require 'Date.php';
$today=new Date;
Expected result:
----------------
$today to have a GMT+1 date/time.
Actual result:
--------------
$today has 'Bangladesh Time'.
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=1189&edit=1
--