You are viewing the PKP Support Forum | PKP Home Wiki

Using My Local Date in OJS

OJS development discussion, enhancement requests, third-party patches and plug-ins.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Using My Local Date in OJS

Postby mahdavi » Sat Jun 30, 2007 11:20 pm

I want translation OJS to my local languages (Persian).
I have some function to Convert Date from Georgian to Persian Date.
but i don't know where i must change that OJS used my function for convert date.
please help me.
thanks a lot
Posts: 1
Joined: Sat Jun 30, 2007 11:13 pm

Postby asmecher » Thu Jul 05, 2007 1:11 pm

Hi mahdavi,

You can format dates by changing the date_format_... settings in your config.inc.php configuration file. For this to take effect in emails containing dates, you'll also need to patch bug #2914 (see http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=2914). There's information on the available formatting components at http://ca.php.net/manual/en/function.strftime.php.

Alec Smecher
Public Knowledge Project Team
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Return to OJS Development

Who is online

Users browsing this forum: No registered users and 0 guests