I can't figure out how to set the date format that the input_date_tag
helper uses to display a date beside the calendar DHTML item.

I looked at FormHelper.php, and it's doing a gnarly conversion on
whatever date format I pass to it:

$calendar_date_format = strtr($date_format, array('yyyy' => 'Y',
'yy'=>'y', 'MM' => 'm', 'M'=>'m', 'dd'=>'d', 'd'=>'e', 'HH'=>'H',
'H'=>'k', 'hh'=>'I', 'h'=>'l', 'mm'=>'M', 'ss'=>'S', 'a'=>'p'));

... but I can't figure out what date format it's trying to use. It's
definitely not compatible with either the PHP date() formats or the
Pear Date class formats.

And if I pass it a date format of "d MM Y", then I can get it to show
"30 May 2007" in the field when the page loads, but as soon as I click
a date, it changes to "30 05 2007".


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to