Re: Re: d3pipes and calendar format
List posts in the topic
Re: Re: d3pipes and calendar format
msg# 1.1.1
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