From 9c3d8d9fec55be26a88e0ada688fb9d1bcf2d3cd Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Fri, 29 Oct 2010 08:45:35 +0200 Subject: [PATCH] fix date format modifier --- blocks/SG_iCal_VTimeZone.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blocks/SG_iCal_VTimeZone.php b/blocks/SG_iCal_VTimeZone.php index 71b7336..b60c9bf 100755 --- a/blocks/SG_iCal_VTimeZone.php +++ b/blocks/SG_iCal_VTimeZone.php @@ -71,7 +71,7 @@ class SG_iCal_VTimeZone { //PHP >= 5.2 $tz = new DateTimeZone( $this->tzid ); $date = new DateTime("@$ts", $tz); - return ($date->format('%I') == 1) ? 'daylight' : 'standard'; + return ($date->format('I') == 1) ? 'daylight' : 'standard'; } else {