Date in object name patern

Author Message

Nabil Alimi

Tuesday 13 September 2005 4:14:29 am

Hi,

Is there a way to formate dates in object paterns ?

I have a datetime attribute <b>date</b>.

But in the object name patern, when I had <date> it just displays the long date name. I've tried <b><date|l10n(shortdate)></b> and <b><date|datetime(custom,'%d/%m/%Y')></b> but it always displays the long date format...

Or at least, display the date in an other language.

EDIT : Ok it seems that what I want to do is not possible according to previous posts on this forum.

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 06:26:48
Script start
Timing: Jan 19 2025 06:26:48
Module start 'layout'
Timing: Jan 19 2025 06:26:48
Module start 'content'
Timing: Jan 19 2025 06:26:48
Module end 'content'
Timing: Jan 19 2025 06:26:48
Script end

Main resources:

Total runtime0.7770 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 590.5859152.6250
Module start 'layout' 0.00670.0037 743.210939.4453
Module start 'content' 0.01030.7652 782.6563466.3906
Module end 'content' 0.77550.0014 1,249.04698.1641
Script end 0.7769  1,257.2109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4354160.0002
Check MTime0.00140.1844160.0001
Mysql Total
Database connection0.00130.162510.0013
Mysqli_queries0.735994.7211460.0160
Looping result0.00040.0527440.0000
Template Total0.744895.920.3724
Template load0.00200.263220.0010
Template processing0.742895.599320.3714
Template load and register function0.00010.013610.0001
states
state_id_array0.00160.203410.0016
state_identifier_array0.00080.103720.0004
Override
Cache load0.00170.2148100.0002
Sytem overhead
Fetch class attribute can translate value0.00100.133010.0010
Fetch class attribute name0.00060.073020.0003
XML
Image XML parsing0.00080.097910.0008
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00090.1098160.0001
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs