OJS OCS OMP OHS

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
Developer Resources:

Documentation: The OJS Technical Reference and the OJS API Reference are both available from the OJS Documentation page.

Git: You can access our public Git Repository here. Comprehensive Git usage instructions are available on the wiki.

Bugzilla: You can access our Bugzilla report tracker here.

Search: You can use our Google Custom Search to search across our main website, the support forum, and Bugzilla.

Questions and discussion are welcome, but if you have a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a technical support question, try the OJS Technical Support subforum.

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
mahdavi
 
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.

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


Return to OJS Development

Who is online

Users browsing this forum: No registered users and 1 guest