619acf1b3b
the release candidate.
14 lines
524 B
Plaintext
14 lines
524 B
Plaintext
$OpenBSD: patch-program_include_main_inc,v 1.8 2009/09/05 15:46:24 sthen Exp $
|
|
--- program/include/main.inc.orig Mon Aug 10 22:32:44 2009
|
|
+++ program/include/main.inc Sat Sep 5 16:41:25 2009
|
|
@@ -884,7 +884,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++;
|
|
}
|
|
|