projects
/
iserv-mod-room-reservation.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ada3bd5
)
mod_roomReservationBookingTable: used gmdate instead of date for timeslices where...
author
rohieb
<devnull@localhost>
Sat, 26 Jul 2008 02:18:18 +0000
(
04:18
+0200)
committer
rohieb
<devnull@localhost>
Sat, 26 Jul 2008 02:18:18 +0000
(
04:18
+0200)
includes/mod_roomReservationBookingTable.inc
patch
|
blob
|
history
diff --git
a/includes/mod_roomReservationBookingTable.inc
b/includes/mod_roomReservationBookingTable.inc
index
706d757
..
15ee950
100644
(file)
--- a/
includes/mod_roomReservationBookingTable.inc
+++ b/
includes/mod_roomReservationBookingTable.inc
@@
-752,7
+752,8
@@
CSS;
// print link to booking if the timeslice is later than now
$oTs = $this->oCfg->getTimeslice($nTs);
- $tsCur = strtotime(date("Y-m-d ", $ts) . date(" G:i",
+ // note: only the timeslices are in GMT!
+ $tsCur = strtotime(date("Y-m-d ", $ts) . gmdate(" G:i",
$oTs->getEnd()));
if($tsCur > time()) {
$strURL = $_SERVER["PHP_SELF"] .
This page took
0.023632 seconds
and
4
git commands to generate.