Hi
I think, its better for you to change date format while processing
form input in action or filter.
You can use something like this in action:
$date= $this->getRequestParameter('date');
$change_culture = 'en_US'; //this is hardcode actually
// Getting a structured date
$changed_date = sfI18N::getDateForCulture($date, $change_culture);
2008/7/10 Sylver <[EMAIL PROTECTED]>:
>
> Hello,
> i use the js calendar with two cultures : fr_FR & en_US.
> My problem is in both case, i want to have the following format : YYYY-
> MM-DD (like in en_US). Because if not, i can insert the data in db.
>
> How can i change the date format of fr_FR ?
> >
>
--
С уважением,
Савин Дима
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---