eZ Community » Forums » Developer » Problem with result of ...
expandshrink

Problem with result of {$node.object.published|l10n(shortdatetime)} which is the date of one week ago

Problem with result of {$node.object.published|l10n(shortdatetime)} which is the date of one week ago

Wednesday 13 June 2012 12:03:42 pm - 2 replies

Hi everyone

Just a little worry about the result of this code:

             {$node.object.published|l10n(shortdatetime)}

i publishe my text in 13/06/2012 the result is :

04/05/2012

Does anyone have any suggestion??

Wednesday 13 June 2012 2:45:42 pm

Hi,

maybe you should use {$node.object.current.created|l10n(shortdatetime)} instead of $node.object.published

Regards,

Wednesday 13 June 2012 4:23:41 pm

Cool!

It works now!

Thank so much happy.gif Emoticon

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu