projects
/
iserv-mod-room-reservation.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mod_roomReservationBookingTable: used gmdate instead of date for timeslices where...
[iserv-mod-room-reservation.git]
/
includes
/
mod_roomReservationBookingTable.inc
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);
// 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"] .
$oTs->getEnd()));
if($tsCur > time()) {
$strURL = $_SERVER["PHP_SELF"] .
This page took
0.018342 seconds
and
4
git commands to generate.