Format Time

Author Message

Masamune

Tuesday 30 August 2005 10:06:09 pm

Hi everyone,

I need to format data fetched from <i>ezTimeField</i>, the <i>ezTime</i> template dosen't make use of the locale instead it separates field values among dots.

Anything similar to <b>l10n('shortdate')</b> to use with time, I used <i>'shorttime'</i>, <i>'time'</i>.. all what I get is <i>3:00am</i> which is the wrong time of course.

Any help?

Thanks.

J-A Eberhard

Tuesday 30 August 2005 11:21:56 pm

Have a look into the documentation and use ezdate instead of eztime
http://ez.no/doc/ez_publish/technical_manual/3_6/reference/objects/ezdate

Open Source Solution Provider
Open-Net Ltd Switzerland
http://www.open-net.ch

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