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.