$OpenBSD: patch-program_include_main_inc,v 1.2 2007/10/29 09:24:43 sthen Exp $
--- program/include/main.inc.orig	Thu Oct 18 11:33:49 2007
+++ program/include/main.inc	Sun Oct 28 08:48:11 2007
@@ -1568,7 +1568,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
