Il semble qu'il faille activer ce mode dans votre fichier settings.py : USE_L10N = True<https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-USE_L10N>
source : https://docs.djangoproject.com/en/dev/topics/i18n/formatting/#format-localization 2012/4/24 Bourhis Yves <[email protected]> > Bonjour, > > je n'arrive pas à afficher le mois en français ; le code suivant : > smart_unicode(etu.st_jury_**date.strftime('%d %b %Y à %Hh%M'), > strings_only=False, errors='strict') > me rend : > 24 April à 17h15 > > Dans mon fichier "settings.py" j'ai bien renseigné : > TIME_ZONE = 'Europe/Paris' > LANGUAGE_CODE = 'fr-FR' > > Que faut-il rajouter de plus ? > > Cordialement. > -- > ______________________________**______________________________**___ > Yves BOURHIS / Service Informatique / I.U.T. de BREST /Tel 8204 > Tel:0298016102/Fax:0298017108/**mailto:Yves.Bourhis@univ-**brest.fr<[email protected]> > ______________________________**_________________ > django mailing list > [email protected] > http://lists.afpy.org/mailman/**listinfo/django<http://lists.afpy.org/mailman/listinfo/django> > -- Guillaume Cisco www.guillaumecisco.com http://tutos-django.com Web Developer - Python/Django, HTML5, CSS3, Javascript No trees were killed to send this message, but a large number of electrons were terribly inconvenienced.
_______________________________________________ django mailing list [email protected] http://lists.afpy.org/mailman/listinfo/django
