[Erp5-report] r20507 - in /erp5/trunk/products/ERP5/bootstrap/erp5_core: SkinTemplateItem/p...
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Apr 14 19:01:20 CEST 2008
Author: rafael
Date: Mon Apr 14 19:01:19 2008
New Revision: 20507
URL: http://svn.erp5.org?rev=20507&view=rev
Log:
Revert the change in order to keep the old behaviour for now.
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Planning_roundBoundToDay.xml
erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Planning_roundBoundToDay.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Planning_roundBoundToDay.xml?rev=20507&r1=20506&r2=20507&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Planning_roundBoundToDay.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/Planning_roundBoundToDay.xml Mon Apr 14 19:01:19 2008
@@ -71,18 +71,17 @@
Script used by PlanningBox validator to round the bound dates to the\n
closest full day.\n
"""\n
-if axis == \'begin\':\n
- if full_date.hour() > 12: \n
- return DateTime(full_date.Date()) + 1\n
- else:\n
- return DateTime(full_date.Date())\n
+if full_date.hour() > 12: \n
+ return DateTime(full_date.Date()) + 1\n
+else:\n
+ return DateTime(full_date.Date())\n
\n
-if axis == \'end\':\n
- # round to 23:59:59\n
- if full_date.hour() > 12:\n
- return DateTime(full_date.Date()) + 1 - (1.0/(24*3600))\n
- else:\n
- return DateTime(full_date.Date()) - (1.0/(24*3600))\n
+#if axis == \'end\':\n
+# # round to 23:59:59\n
+# if full_date.hour() > 12:\n
+# return DateTime(full_date.Date()) + 1 - (1.0/(24*3600))\n
+# else:\n
+# return DateTime(full_date.Date()) - (1.0/(24*3600))\n
]]></string> </value>
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision?rev=20507&r1=20506&r2=20507&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_core/bt/revision Mon Apr 14 19:01:19 2008
@@ -1,1 +1,1 @@
-792
+793
More information about the Erp5-report
mailing list