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.
mahdavi
Posts: 1
Joined: Sat Jun 30, 2007 11:13 pm
Contact:

Using My Local Date in OJS

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

Hi,
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

asmecher
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm
Contact:

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.

Regards,
Alec Smecher
Public Knowledge Project Team


Return to “OJS Development”

Who is online

Users browsing this forum: Google [Bot] and 0 guests