Форумы / Cotonti / Development / DHTML Js Calendar

A friendly GUI to fill date fields

GHengeveld
#24434 03.05.2010 17:51
# donP : But the problem is the integration with Cotonti, 'cause, actually, we have FIVE (!!!) select fields to record ONE date field!
We would hardly change core and .tpl files... :/
That would be easily solved by supporting two formats: seperate fields (existing) and a combined field, allowing for developers to choose between input formats.

I've found that using strftime and strptime are the easiest and most flexible way to do this. Of course parsing dates for display will still require a custom function for localisation.

I'll add a ticket for this.