[drupal-devel] [bug] DST support
pyromanfo
drupal-devel at drupal.org
Tue May 17 00:13:18 UTC 2005
Issue status update for http://drupal.org/node/23029
Project: Drupal
Version: 4.6.0
Component: base system
Category: bug reports
Priority: normal
Assigned to: Anonymous
Reported by: pyromanfo
Updated by: pyromanfo
Status: patch
One quick and dirty way to fix Daylight Savings Time in Drupal would be
to add the following line in the function format_date in common.inc
<?php
$timestamp += date("I")*3600;
?>
It adjusts the timestamp if DST is currently active. It fixed it on my
site, at any rate, it seems it'd handle both cases, DST enabled or not
using DST at all.
pyromanfo
More information about the drupal-devel
mailing list