mod_roomReservationBookingTable: used gmdate instead of date for timeslices where...
authorrohieb <devnull@localhost>
Sat, 26 Jul 2008 02:18:18 +0000 (04:18 +0200)
committerrohieb <devnull@localhost>
Sat, 26 Jul 2008 02:18:18 +0000 (04:18 +0200)
includes/mod_roomReservationBookingTable.inc

index 706d757..15ee950 100644 (file)
@@ -752,7 +752,8 @@ CSS;
    
     // print link to booking if the timeslice is later than now
     $oTs = $this->oCfg->getTimeslice($nTs);
-    $tsCur = strtotime(date("Y-m-d ", $ts) . date(" G:i",
+    // note: only the timeslices are in GMT!
+    $tsCur = strtotime(date("Y-m-d ", $ts) . gmdate(" G:i",
       $oTs->getEnd()));
     if($tsCur > time()) {
       $strURL = $_SERVER["PHP_SELF"] .
This page took 0.028702 seconds and 4 git commands to generate.