$strLessons = $this->oCfg->isShowLessons() ?_sprintf_ord(
_c("room-reservation:%s# lesson"), $nTs + 1) . "<br />" : "";
$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("<tr><td class='lesson'>%s</td>", $strLessons . $strTs);