[TYPO3-core] RFC feature #16393: date ranges for ExtJS date pickers

Stefano Cecere scecere at krur.com
Mon Nov 15 22:06:14 CET 2010


hi Steffen. attached revised patch:

> * please use spaces with concatenate
done

> * why adding '- ' at the end of classname? can be omitted and se a  
> better reg exp

sorry i could not make it (i'm not that good with regexp):

if i have this class = "tceforms-textfield tceforms-datefield  
lower-123456- "
i can extract the value 123456 with match(".+lower-(.+?)-.+");

but if i have it class = "tceforms-textfield tceforms-datefield  
lower-123456"
how to do it? :(


> * please rename strmindate simply to matches

done

> * js need initialization for vars. Start your modification with
> var minDate = null, maxDate = null, matches = [];

done

s

-- 
____    ___   __  _ ______________________

   Stefano Cecere
   KRUR.com - humanmedia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 16393b.diff
Type: application/octet-stream
Size: 2149 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101115/b39e0c0c/attachment.obj>


More information about the TYPO3-team-core mailing list