From: rohieb Date: Mon, 14 Jul 2008 12:55:33 +0000 (+0200) Subject: the times in the first row were not in GMT but in local time X-Git-Tag: REL_3.0-beta~17 X-Git-Url: https://git.rohieb.name/iserv-mod-room-reservation.git/commitdiff_plain/eb5118c01d27fa0f000a1ce75c0d62f048f705f7 the times in the first row were not in GMT but in local time --- 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);