mercredi 5 août 2015

Get month name in Symfony


Is it possible to get somehow name of given month (by its number) in Symfony's controller. And in current locale.

Form's date widget translates month to current locale automatically. I would like do the same but in my controller.

I know how get country translated but didn't found the same funtionality for month.

Thanks



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire