Re: [MRBS-general] FW: MRBS showing wrong time after clocks wentforward
From: Campbell Morrison <mail@ca...> - 2009-04-08 14:02
OK - that makes sense. There were some problems in 1.2.3 to do with DST.
If you've just got a small number of bookings you could edit them manually.
Otherwise the only way to rectify the problem is by running an SQL query to
correct them.
First of all make a back up of your database!
Then run the following two queries:
UPDATE mrbs_entry SET start_time = start_time - 3600, end_time = end_time -
3600 where WHERE timestamp < '2009-03-29 03:00:00' AND start_time >
1238292000
UPDATE mrbs_repeat SET start_time = start_time - 3600, end_time = end_time -
3600 where WHERE timestamp < '2009-03-29 03:00:00' AND start_time >
1238292000
This will look for all bookings made before the summertime change for times
after the change and move them back an hour. Note that it assumes that
you haven't got any bookings after summer time ends in October. If you
have, you'll need a slightly different query.
In the longer term I'd recommend upgrading to MRBS 1.4.1 where to the best
of my knowledge the DST problems are fixed.
Campbell