Re: [SMARTY-CVS] cvs: smarty / NEWS /plugins function.html_select_date.php

From: Date: Sun, 14 Apr 2002 17:24:33 +0000
Subject: Re: [SMARTY-CVS] cvs: smarty / NEWS /plugins function.html_select_date.php
References: 1  Groups: php.smarty.cvs 
Request: Send a blank email to php-smarty-cvs+get-54@lists.php.net to get a copy of this message
It should probably go straight to smarty_make_timestamp. Andrei Zmievski wrote:
At 04:15 PM 4/13/02 +0000, Monte Ohrt wrote:
+       // If $time is not in format yyyy-mm-dd
+       if (!preg_match('/\d{4}-\d{2}-\d{2}/', $time)) {
This should actually be enclosed with ^ and $ to make sure you are matching the whole string. -Andrei


« previous php.smarty.cvs (#54) next »