22b3679264
ok ajacoutot
13 lines
456 B
Plaintext
13 lines
456 B
Plaintext
$OpenBSD: patch-program_include_main_inc,v 1.3 2008/03/19 01:38:46 sthen Exp $
|
|
--- program/include/main.inc.orig Wed Feb 27 13:39:22 2008
|
|
+++ program/include/main.inc Tue Mar 18 17:17:21 2008
|
|
@@ -1497,7 +1497,7 @@ function format_date($date, $format=NULL)
|
|
|
|
// get user's timezone
|
|
$tz = $CONFIG['timezone'];
|
|
- if ($CONFIG['dst_active'])
|
|
+ if ($CONFIG['dst_active'] && (date("I", $ts) == "1"))
|
|
$tz++;
|
|
|
|
// convert time to user's timezone
|