[html-formfu] Patch to allow "today" as the default date

Brian Cassidy brian.cassidy at nald.ca
Thu Feb 14 19:43:39 GMT 2008


This may open a can of worms, but I've refactored the defaults for the =

Date element to allow the string "today" to correspond to DateTime->today().

This seemed like a sensible option to allow -- though i know one could =

go overboard with textual representations.

See attachment.

-Brian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: today.patch
Type: text/x-patch
Size: 1377 bytes
Desc: not available
Url : http://lists.scsys.co.uk/pipermail/html-formfu/attachments/20080214/6=
7dbe5f3/today.bin


More information about the HTML-FormFu mailing list