[limb-svn] r5940 - 3.x/trunk/limb/i18n/src/datetime
svn at limb-project.com
svn at limb-project.com
Tue Jun 5 18:51:03 MSD 2007
Author: pachanga
Date: 2007-06-05 18:51:03 +0400 (Tue, 05 Jun 2007)
New Revision: 5940
URL: http://fisheye.limb-project.com/changelog/limb/?cs=5940
Modified:
3.x/trunk/limb/i18n/src/datetime/lmbLocaleDate.class.php
Log:
-- using new lmbDate :: getPhpDayOfWeek()
Modified: 3.x/trunk/limb/i18n/src/datetime/lmbLocaleDate.class.php
===================================================================
--- 3.x/trunk/limb/i18n/src/datetime/lmbLocaleDate.class.php 2007-06-05 14:50:20 UTC (rev 5939)
+++ 3.x/trunk/limb/i18n/src/datetime/lmbLocaleDate.class.php 2007-06-05 14:51:03 UTC (rev 5940)
@@ -1,13 +1,13 @@
<?php
-/*
- * Limb PHP Framework
- *
- * @link http://limb-project.com
- *
- * @copyright Copyright © 2004-2007 BIT
- * @license LGPL http://www.gnu.org/copyleft/lesser.html
- * @version $Id$
- * @package $package$
+/*
+ * Limb PHP Framework
+ *
+ * @link http://limb-project.com
+ *
+ * @copyright Copyright © 2004-2007 BIT
+ * @license LGPL http://www.gnu.org/copyleft/lesser.html
+ * @version $Id$
+ * @package $package$
*/
lmb_require('limb/core/src/exception/lmbException.class.php');
lmb_require('limb/datetime/src/lmbDate.class.php');
@@ -66,11 +66,11 @@
{
case 'a':
$this->_ensureLocale($locale);
- $output .= $locale->getDayName($this->getDayOfWeek(), true);
+ $output .= $locale->getDayName($this->getPhpDayOfWeek(), true);
break;
case 'A':
$this->_ensureLocale($locale);
- $output .= $locale->getDayName($this->getDayOfWeek());
+ $output .= $locale->getDayName($this->getPhpDayOfWeek());
break;
case 'b':
$this->_ensureLocale($locale);
@@ -155,7 +155,7 @@
$output .= sprintf("%02d:%02d:%02d", $this->getHour(), $this->getMinute(), $this->getSecond());
break;
case 'w':
- $output .= $this->getDayOfWeek();
+ $output .= $this->getPhpDayOfWeek();
break;
case 'U':
$output .= $this->getWeekOfYear();
More information about the limb-svn
mailing list