datetime without i10n ?

Author Message

Guillaume Kulakowski

Tuesday 10 June 2008 1:06:53 am

Hello,

I try to validate a RSS feed. The problem is that I use datetime(), this solution translate month and day in french.
But, in the RSS specification, name of day and month must be in English.

Is there a technique for use datetime() without internationalization ?

Thx

My blog : http://www.llaumgui.com (not in eZ Publish ;-))
eZC on RHEL : http://blog.famillecollet.com/pages/Config-en
eZC on Fedora : just "yum install php-channel-ezc"

Guillaume Kulakowski

Tuesday 10 June 2008 11:14:02 pm

I have found a solution: to create an template operator gmdate (http://php.net/manual/fr/function.gmdate.php).

Thx

My blog : http://www.llaumgui.com (not in eZ Publish ;-))
eZC on RHEL : http://blog.famillecollet.com/pages/Config-en
eZC on Fedora : just "yum install php-channel-ezc"

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 03:40:03
Script start
Timing: Jan 19 2025 03:40:03
Module start 'layout'
Timing: Jan 19 2025 03:40:03
Module start 'content'
Timing: Jan 19 2025 03:40:04
Module end 'content'
Timing: Jan 19 2025 03:40:04
Script end

Main resources:

Total runtime1.1940 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 589.0469152.6094
Module start 'layout' 0.00520.0040 741.656339.4141
Module start 'content' 0.00911.1835 781.0703488.7109
Module end 'content' 1.19260.0014 1,269.78138.1875
Script end 1.1940  1,277.9688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2649160.0002
Check MTime0.00130.1122160.0001
Mysql Total
Database connection0.00070.057510.0007
Mysqli_queries1.151196.4033520.0221
Looping result0.00050.0435500.0000
Template Total1.161097.220.5805
Template load0.00200.165720.0010
Template processing1.159097.069620.5795
Template load and register function0.00010.008410.0001
states
state_id_array0.00150.129610.0015
state_identifier_array0.00170.143820.0009
Override
Cache load0.00160.1303130.0001
Sytem overhead
Fetch class attribute can translate value0.00050.038310.0005
Fetch class attribute name0.00130.113130.0004
XML
Image XML parsing0.00050.040710.0005
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00080.0695170.0000
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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs