Skip to the content
Documentation

datetime.ini

No ratings yet

 

Contributors

Comments (4 historical)

Written by readers of the earlier documentation sites, kept as they were.

  1. You know what would be great?

    Mindshare Tech ·

    Some documentation! Thanks...

  2. Configure personal date format

    Stéphane BULLIER ·

    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.

    1. Re: Configure personal date format

      Stéphane BULLIER ·

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

Comments

Add a comment

Comments are read by a moderator before they appear.