fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [15507] new datatype


From: sigurdne
Subject: [Fmsystem-commits] [15507] new datatype
Date: Thu, 25 Aug 2016 14:53:14 +0000 (UTC)

Revision: 15507
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=15507
Author:   sigurdne
Date:     2016-08-25 14:53:14 +0000 (Thu, 25 Aug 2016)
Log Message:
-----------
new datatype

Modified Paths:
--------------
    trunk/phpgwapi/inc/class.phpgw.inc.php

Modified: trunk/phpgwapi/inc/class.phpgw.inc.php
===================================================================
--- trunk/phpgwapi/inc/class.phpgw.inc.php      2016-08-25 14:52:16 UTC (rev 
15506)
+++ trunk/phpgwapi/inc/class.phpgw.inc.php      2016-08-25 14:53:14 UTC (rev 
15507)
@@ -27,6 +27,8 @@
           along with this program.  If not, see <http://www.gnu.org/licenses/>.
         */
 
+       phpgw::import_class('phpgwapi.datetime');
+
        /**
        * Global ugliness class
        *
@@ -572,6 +574,9 @@
                                        case 'html':
                                                $value = 
self::clean_html($value);
                                                break;
+                                       case 'date':
+                                               $value = 
phpgwapi_datetime::date_to_timestamp($value);
+                                               break;
                                }
                                return $value;
                        }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]