Revision: 1296
http://mrbs.svn.sourceforge.net/mrbs/?rev=1296&view=rev
Author: cimorrison
Date: 2010-02-10 17:16:05 +0000 (Wed, 10 Feb 2010)
Log Message:
-----------
Partially fixed a problem to do with the handling of All Day bookings crossing
a DST boundary. It's not a complete fix - I've just made the handling mirror
that of ordinary (non All Day) bookings - and I decided to leave fixing it
properly until the Deprecated is_dst issue is tackled.
Modified Paths:
--------------
mrbs/trunk/web/edit_entry_handler.php
Modified: mrbs/trunk/web/edit_entry_handler.php
===================================================================
--- mrbs/trunk/web/edit_entry_handler.php 2010-02-10 16:31:57 UTC (rev
1295)
+++ mrbs/trunk/web/edit_entry_handler.php 2010-02-10 17:16:05 UTC (rev
1296)
@@ -237,11 +237,11 @@
else
{
$starttime = mktime($morningstarts, $morningstarts_minutes, 0,
- $month, $day , $year,
- is_dst($month, $day , $year));
+ $month, $day, $year,
+ is_dst($month, $day, $year, $morningstarts));
$endtime = mktime($eveningends, $eveningends_minutes, 0,
$month, $day, $year,
- is_dst($month, $day, $year));
+ is_dst($month, $day, $year, $eveningends));
$endtime += $resolution; // add on the duration (in
seconds) of the last slot as
// $eveningends and
$eveningends_minutes specify the
// beginning of the last slot
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits