From eb5118c01d27fa0f000a1ce75c0d62f048f705f7 Mon Sep 17 00:00:00 2001 From: rohieb Date: Mon, 14 Jul 2008 14:55:33 +0200 Subject: [PATCH] the times in the first row were not in GMT but in local time --- includes/mod_roomReservationBookingTable.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/mod_roomReservationBookingTable.inc b/includes/mod_roomReservationBookingTable.inc index c19b78f..c672e52 100755 --- a/includes/mod_roomReservationBookingTable.inc +++ b/includes/mod_roomReservationBookingTable.inc @@ -455,8 +455,8 @@ CSS; $strLessons = $this->oCfg->isShowLessons() ?_sprintf_ord( _c("room-reservation:%s# lesson"), $nTs + 1) . "
" : ""; $oTs = $this->oCfg->getTimeslice($nTs); - $strTs = sprintf("%s - %s", strftime(_("%#I:%M %p"), $oTs->getBegin()), - strftime(_("%#I:%M %p"), $oTs->getEnd())); + $strTs = sprintf("%s - %s", gmstrftime(_("%#I:%M %p"), $oTs->getBegin()), + gmstrftime(_("%#I:%M %p"), $oTs->getEnd())); // First column: Lesson echo sprintf("%s", $strLessons . $strTs); -- 2.20.1