How i can turn off the persian date?

سوالات کلی در مورد جوملا

Moderator: joomlalearn

Locked
jomaro
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Sun Apr 02, 2006 7:19 pm

How i can turn off the persian date?

Post by jomaro » Sun Apr 09, 2006 10:17 am

Hi everybody,

I am using the persian Joomla but i want to back to the normal date "English" one with "January, February,...." and to year 2006...how i can fix this...

Thanks  :)

User avatar
davidgal
Joomla! Guru
Joomla! Guru
Posts: 963
Joined: Sat Aug 20, 2005 9:19 am
Location: Israel
Contact:

Re: How i can turn off the persian date?

Post by davidgal » Sun Apr 09, 2006 9:52 pm

jomaro wrote: Hi everybody,

I am using the persian Joomla but i want to back to the normal date "English" one with "January, February,...." and to year 2006...how i can fix this...

Thanks  :)
In the 'global configuration' go to the 'locale' tab and set the value in the 'locale' field to en_GB.

Hope this helped you.
David Gal

jomaro
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Sun Apr 02, 2006 7:19 pm

Re: How i can turn off the persian date?

Post by jomaro » Mon Apr 10, 2006 12:31 am

Thank you very much davidgal for your reply
But unfortunately i have it right now on "en_GB" but the date and the year still the same!

Thanks again  :)

User avatar
negarkhane
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 146
Joined: Sat Aug 20, 2005 4:38 pm
Location: Iran
Contact:

Re: How i can turn off the persian date?

Post by negarkhane » Mon Apr 10, 2006 6:04 pm

Dear my friend
you can owerrite the joomla.php in  Joomla Stable 1.0.8 with joomla.php :
http://www.yoursitename.com/includes/joomla.php
and edit the farsi languages file( Line 391 , 392 ) :

Code: Select all


DEFINE('_DATE_FORMAT_LC',"d M Y"); //Uses PHP's strftime Command Format
DEFINE('_DATE_FORMAT_LC2',"d M Y ساعت H:i");

Replace

Code: Select all


DEFINE('_DATE_FORMAT_LC',"%A, %d %B %Y"); //Uses PHP's strftime Command Format
DEFINE('_DATE_FORMAT_LC2',"%A, %d %B %Y %H:%M");


jomaro
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Sun Apr 02, 2006 7:19 pm

Re: How i can turn off the persian date?

Post by jomaro » Mon Apr 10, 2006 6:07 pm

Thank you very much negarkhane   :)

User avatar
negarkhane
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 146
Joined: Sat Aug 20, 2005 4:38 pm
Location: Iran
Contact:

Re: How i can turn off the persian date?

Post by negarkhane » Mon Apr 10, 2006 6:22 pm

;)


Locked

Return to “سوالهای عمومی”