]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/baculum/framework/Util/TSimpleDateFormatter.php
baculum: New Baculum API and Baculum Web
[bacula/bacula] / gui / baculum / framework / Util / TSimpleDateFormatter.php
index 295a2d60a4ab64990deb33b8599cb9f1e824975f..021948e4908a2247eb32966c38599115062d041f 100644 (file)
@@ -3,10 +3,9 @@
  * TSimpleDateFormatter class file
  *
  * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @link http://www.pradosoft.com/
- * @copyright Copyright &copy; 2005-2013 PradoSoft
- * @license http://www.pradosoft.com/license/
- * @version $Id: TSimpleDateFormatter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
+ * @link https://github.com/pradosoft/prado
+ * @copyright Copyright &copy; 2005-2016 The PRADO Group
+ * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT
  * @package System.Util
  */
 
@@ -40,7 +39,6 @@
  * </code>
  *
  * @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @version $Id: TSimpleDateFormatter.php 3245 2013-01-07 20:23:32Z ctrlaltca $
  * @package System.Util
  * @since 3.0
  */
@@ -177,7 +175,7 @@ class TSimpleDateFormatter
                if(is_numeric($value))
                        return $s->getDate($value);
                else
-                       return $s->parseDate($value);           
+                       return $s->parseDate($value);
        }
 
        /**
@@ -302,7 +300,7 @@ class TSimpleDateFormatter
                if(!$defaultToCurrentTime && ($month === null || $day === null || $year === null))
                        return null;
                else
-               {               
+               {
                        if(empty($year)) {
                                $year = date('Y');
                        }