[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: www/areas/events
From: Daniel Molkentin <molkentin () kde ! org>
Date: 2008-05-07 22:09:22
Message-ID: 1210198162.944684.2922.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 805230 by danimo:
fix off-by-one error
M +1 -1 upcomingeventlister.inc
--- trunk/www/areas/events/upcomingeventlister.inc #805229:805230
@@ -14,7 +14,7 @@
foreach ($temp as $item) {
// These are the dates we'll display
$gCalDateStart = gmdate($dateformat, $item['startTime']);
- $gCalDateEnd = gmdate($dateformat, $item['endTime']);
+ $gCalDateEnd = gmdate($dateformat, $item['endTime']-(24*60*60)); // otherwise \
it's off by one day and we can't compare
// reprocess description
$linked_description=preg_replace( \
'/(http|ftp|irc|webdav)+(s)?:(\/\/)((\w|\.)+)(\/)?(\S+)?/i', '<a href="\0">\4</a>', \
$item['description'] );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic