From 1a202b7989bd31aa8aaddf2e9bb9c285a67d7cdd Mon Sep 17 00:00:00 2001 From: rohieb Date: Mon, 14 Jul 2008 17:19:26 +0200 Subject: [PATCH 1/1] getTimesliceBeginnings(), getTimesliceEndings(): fixed GMT problem here too --- includes/mod_roomReservationConfig.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) mode change 100644 => 100755 includes/mod_roomReservationConfig.inc diff --git a/includes/mod_roomReservationConfig.inc b/includes/mod_roomReservationConfig.inc old mode 100644 new mode 100755 index 1aca132..9a2bf9c --- a/includes/mod_roomReservationConfig.inc +++ b/includes/mod_roomReservationConfig.inc @@ -203,7 +203,7 @@ class mod_roomReservationConfig { $aot = $this->getTimeslices(); $aRet = array(); foreach($aot as $ao) { - $aRet[] = $bFormat ? _date("%#I:%M %p", $ao->getBegin()) : + $aRet[] = $bFormat ? gmstrftime(_("%#I:%M %p"), $ao->getBegin()) : $ao->getBegin(); } return $aRet; @@ -220,7 +220,8 @@ class mod_roomReservationConfig { $aot = $this->getTimeslices(); $aRet = array(); foreach($aot as $ao) { - $aRet[] = $bFormat ? _date("%#I:%M %p", $ao->getEnd()) : $ao->getEnd(); + $aRet[] = $bFormat ? gmstrftime(_("%#I:%M %p"), $ao->getEnd()) : + $ao->getEnd(); } return $aRet; } -- 2.20.1