[limb-svn] r5841 - 3.x/trunk/limb/calendar/src/template/tags
svn at limb-project.com
svn at limb-project.com
Tue May 8 20:34:34 MSD 2007
Author: pachanga
Date: 2007-05-08 20:34:34 +0400 (Tue, 08 May 2007)
New Revision: 5841
URL: http://fisheye.limb-project.com/changelog/limb/?cs=5841
Modified:
3.x/trunk/limb/calendar/src/template/tags/calendar.tag.php
Log:
-- <richedit> tag uses '%Y-%m-%d %H:%M' format by default
Modified: 3.x/trunk/limb/calendar/src/template/tags/calendar.tag.php
===================================================================
--- 3.x/trunk/limb/calendar/src/template/tags/calendar.tag.php 2007-05-08 16:33:55 UTC (rev 5840)
+++ 3.x/trunk/limb/calendar/src/template/tags/calendar.tag.php 2007-05-08 16:34:34 UTC (rev 5841)
@@ -41,6 +41,11 @@
$widget->setOption('ifFormat', $format);
$widget->setOption('daFormat', $format);
}
+ else
+ {
+ $widget->setOption('ifFormat', '%Y-%m-%d %H:%M');
+ $widget->setOption('daFormat', '%Y-%m-%d %H:%M');
+ }
$code->writeHTML($widget->loadFiles() .
$widget->makeButton($this->getAttribute('id')));
More information about the limb-svn
mailing list