[limb-svn] r5951 - 3.x/trunk/limb/calendar/src/template/tags
svn at limb-project.com
svn at limb-project.com
Wed Jun 6 17:55:22 MSD 2007
Author: pachanga
Date: 2007-06-06 17:55:22 +0400 (Wed, 06 Jun 2007)
New Revision: 5951
URL: http://fisheye.limb-project.com/changelog/limb/?cs=5951
Modified:
3.x/trunk/limb/calendar/src/template/tags/calendar.tag.php
Log:
-- <datetime> is rendered with '%Y-%m-%d' 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-06-06 13:54:07 UTC (rev 5950)
+++ 3.x/trunk/limb/calendar/src/template/tags/calendar.tag.php 2007-06-06 13:55:22 UTC (rev 5951)
@@ -1,20 +1,20 @@
<?php
-/*
- * Limb PHP Framework
- *
- * @link http://limb-project.com
- * @copyright Copyright © 2004-2007 BIT(http://bit-creative.com)
- * @license LGPL http://www.gnu.org/copyleft/lesser.html
+/*
+ * Limb PHP Framework
+ *
+ * @link http://limb-project.com
+ * @copyright Copyright © 2004-2007 BIT(http://bit-creative.com)
+ * @license LGPL http://www.gnu.org/copyleft/lesser.html
*/
require_once('limb/wact/src/tags/form/input.tag.php');
require_once('limb/calendar/src/lmbCalendarWidget.class.php');
-/**
- * @tag datetime,limb:CALENDAR
- * @forbid_end_tag
- * @package calendar
- * @version $Id$
- */
+/**
+ * @tag datetime,limb:CALENDAR
+ * @forbid_end_tag
+ * @package calendar
+ * @version $Id$
+ */
class lmbCalendarTag extends WactInputTag
{
function getRenderedTag()
@@ -44,8 +44,8 @@
}
else
{
- $widget->setOption('ifFormat', '%Y-%m-%d %H:%M');
- $widget->setOption('daFormat', '%Y-%m-%d %H:%M');
+ $widget->setOption('ifFormat', '%Y-%m-%d');
+ $widget->setOption('daFormat', '%Y-%m-%d');
}
$code->writeHTML($widget->loadFiles() .
More information about the limb-svn
mailing list