Thanks, looks good.

Can I suggest using input type="date" so you get the browsers inbuilt
date-picker.
-Adding the type="date" support detection is also a necessity.

S.


On Thursday, February 24, 2011, Ron Wilson <ronw.m...@gmail.com> wrote:
> On Wed, Feb 2, 2011 at 12:03 PM, Stephen De Gabrielle
> <spdegabrie...@gmail.com> wrote:
>> Just sharing a little work I did add date-pickers to fossil. It is easy
>> mis-type a date, and this provides a littel validation for when I do reports
>
> I found a much lighter weight alternative to jquery. I had to modify
> the date format and adjust the positioning of the calendar. The
> positioning code I ended up with does not seem correct, but the result
> where I work (a mix of FireFox 3.6, Chrome and IE 7) is acceptable,
> however, I would not be surprised if any of you got wildly different
> results. YMMV.
>
> In my Edit Ticket, I put the targetdate field:
>
> <input type="text" name="targetdate" size="12" value="$<targetdate>"
> onFocus="javascript:GetDate(this)" />
>
> The date picker and its CSS are attached.
>

-- 

--
Stephen De Gabrielle
stephen.degabrie...@acm.org
Telephone +44 (0)20 85670911
Mobile        +44 (0)79 85189045
http://www.degabrielle.name/stephen
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to