Author: benj
Date: Thu Jan 12 17:36:07 2017
New Revision: 1783
URL: http://svn.gna.org/viewcvs/gdtc?rev=1783&view=rev
Log:
FIx regexp
Modified:
trunk/gdtc/include/utils.php
Modified: trunk/gdtc/include/utils.php
URL:
http://svn.gna.org/viewcvs/gdtc/trunk/gdtc/include/utils.php?rev=1783&r1=1782&r2=1783&view=diff
==============================================================================
--- trunk/gdtc/include/utils.php (original)
+++ trunk/gdtc/include/utils.php Thu Jan 12 17:36:07 2017
@@ -644,7 +644,7 @@
function sql2date ( $arg )
{
- if ( preg_match ( '/([0-9]*)-([0-9]*)-([0-9]*)( (\d\d):(\d\d):(\d\d))?/',
$arg, $matches ) )
+ if ( preg_match ( '/([0-9]*)-([0-9]*)-([0-9]*)(
([0-9]+):([0-9]+):([0-9]+))?/', $arg, $matches ) )
{
if ( count($matches) >= 5 )
{
_______________________________________________
Gdtc-commits mailing list
[email protected]
https://mail.gna.org/listinfo/gdtc-commits