Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

datetime.ini

 

Balazs Halasy (23/02/2005 12:16 pm)

Frederik Holljen (22/04/2005 1:12 pm)


Comments

  • You know what would be great?

    Some documentation! Thanks...
  • Configure personal date format

    In this file, you can write class format date :
    [ClassSettings]
    Formats[]
    Formats[mydate]=%Y/%m/%d

    In your template, where you want to see the special format :

    {def $timestamp=$node.data_map.date.data_int}

    {$timestamp|l10n( 'mydate' )} : french format

    That it's.
    • Re: Configure personal date format

      I made a mistake in my code. You have to use "datetime" operator : {$timestamp|datetime( 'confdate' )}
  • datetime.ini