Closed (outdated)
Project:
Drupal core
Version:
6.9
Component:
other
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Nov 2010 at 16:15 UTC
Updated:
2 Mar 2016 at 22:18 UTC
Jump to comment: Most recent
(flagged "Component: other" as I'm not sure which component is involved)
While trying to use format_date in a custom template following the guidelines from http://api.drupal.org/api/drupal/includes--common.inc/function/format_date I can't manage to get the localization working.
With the Italian localization correctly installed, enabled and set to default (large parts of Drupal are in Italian), I use this:
<?php print format_date($node->created, 'custom', 'j F Y', NULL, 'it') ?>
but the month name is still displayed in English.
Any hint?
Comments