Anonymous | Login | Signup for a new account | 2021-03-08 03:41 GMT | ![]() |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000733 | SiT! | setup/config | public | 2009-06-16 12:18 | 2010-04-10 20:23 | ||||
Reporter | kieran | ||||||||
Assigned To | ivan | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 3.45 | ||||||||
Target Version | 3.60 LTS | Fixed in Version | 3.60 LTS | ||||||
Summary | 0000733: ldate() doesn't work with BST | ||||||||
Description | It can be solved with the 'L' switch of date() | ||||||||
Additional Information | Example code taken from http://uk2.php.net/manual/en/function.date.php#69167: [^] function zonedate($layout, $countryzone, $daylightsaving) { if ($daylightsaving) { $daylight_saving = date('I'); if ($daylight_saving){ $zone=3600*($countryzone+1); } } else { if ($countryzone>>0){ $zone=3600*$countryzone; } else { $zone=0; } } $date=gmdate($layout, time() + $zone); return $date; } | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
![]() |
|
ivan (administrator) 2009-07-20 14:24 |
Going to bump this because I think it needs more thought, I don't want to rush into half a solution for the 3.50 release. The current work-around is the change the users UTC offset when DST changes locally. E.g. in the UK which is effectively UTC timezone, summertime setting should be UTC+1 and wintertime setting UTC+0. |
ivan (administrator) 2010-03-27 15:33 |
This should be fixed by 3.60 which makes ldate() DST aware. Can anybody confirm? |
ivan (administrator) 2010-04-10 20:05 |
Marking resolved until somebody tells me otherwise. Seems ok to me. |
![]() |
|||
Date Modified | Username | Field | Change |
2009-06-16 12:18 | kieran | New Issue | |
2009-06-16 13:57 | ivan | Status | new => confirmed |
2009-06-16 14:11 | ivan | Status | confirmed => assigned |
2009-06-16 14:11 | ivan | Assigned To | => ivan |
2009-06-16 17:50 | ivan | Relationship added | related to 0000629 |
2009-07-20 14:24 | ivan | Note Added: 0001350 | |
2009-07-20 14:24 | ivan | Target Version | 3.50 => 3.60 |
2009-08-21 14:38 | kieran | Target Version | 3.60 => 4.0 |
2010-03-27 15:33 | ivan | Note Added: 0002881 | |
2010-03-27 15:33 | ivan | Assigned To | ivan => kieran |
2010-03-27 15:33 | ivan | Status | assigned => feedback |
2010-04-10 20:04 | ivan | Status | feedback => assigned |
2010-04-10 20:04 | ivan | Assigned To | kieran => ivan |
2010-04-10 20:05 | ivan | Note Added: 0003004 | |
2010-04-10 20:05 | ivan | Status | assigned => resolved |
2010-04-10 20:05 | ivan | Fixed in Version | => 3.60 LTS |
2010-04-10 20:05 | ivan | Resolution | open => fixed |
2010-04-10 20:23 | ivan | Target Version | 4.0 => 3.61 LTS |
2010-04-10 20:23 | ivan | Target Version | 3.61 LTS => 3.60 LTS |
Copyright © 2000 - 2021 MantisBT Team |