14 lines
524 B
Plaintext
14 lines
524 B
Plaintext
$OpenBSD: patch-program_include_main_inc,v 1.6 2009/01/27 10:55:41 sthen Exp $
|
|
--- program/include/main.inc.orig Wed Dec 24 14:19:27 2008
|
|
+++ program/include/main.inc Tue Jan 27 10:50:37 2009
|
|
@@ -731,7 +731,8 @@ function format_date($date, $format=NULL)
|
|
$tz = isset($_SESSION['timezone']) ? $_SESSION['timezone'] : date('Z')/3600;
|
|
else {
|
|
$tz = $CONFIG['timezone'];
|
|
- if ($CONFIG['dst_active'])
|
|
+ //if ($CONFIG['dst_active'])
|
|
+ if ($CONFIG['dst_active'] && (date("I", $ts) == "1"))
|
|
$tz++;
|
|
}
|
|
|