PEAK XOOPS - Re: Re: d3pipes and calendar format in englishin japanese

Re: Re: d3pipes and calendar format

List posts in the topic

none Re: Re: d3pipes and calendar format

msg# 1.1.1
depth:
2
Previous post - Next post | Parent - Children.1 | Posted on 2009/2/27 11:56 | Last modified
irmtfan  三等軍曹   Posts: 96
Hi GIJ
the problem is not in the format of displaying but in how to fetch and parse hegira dates.
now you use date function like this:
date:$entry.pubtime+$timezone_offset
but for persians it should be localize in the way they can fetch and parse from other persian sites.
in xoops we localize "formatTimestamp" function for this purpose therefor if you show me where this "pubtime" come from (in which files) maybe i can change it. but it seems it is not that simple.

EDIT:
ok i add formatTimestamp like this:
<{$entry.pubtime|formatTimestamp}>

now it shows correct but i want to add $timezone_offset too. could you help me?
Votes:15 Average:8.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!