getTimesliceBeginnings(), getTimesliceEndings(): fixed GMT problem here too
authorrohieb <devnull@localhost>
Mon, 14 Jul 2008 15:19:26 +0000 (17:19 +0200)
committerrohieb <devnull@localhost>
Mon, 14 Jul 2008 15:19:26 +0000 (17:19 +0200)
includes/mod_roomReservationConfig.inc [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 1aca132..9a2bf9c
@@ -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;
   }
This page took 0.024173 seconds and 4 git commands to generate.