how can change magento calendar type?

975 views Asked by At

as you know Gregorian is default calendar in magento, but in some countries like China, Japan, India, Iran and Arabian countries there are different calendars. I searched magento backend and I didn’t find any options to select and change calendar.

I want use “Jalali” calendar, Persian original calendar. now I need install new calendar.

if I know correctly there are 2 type calendar used in magento. 1. Zend framework PHP calendar 2. Mihai Bazon Java Calendar

for first type I found that, there is an extension for “Zend_Date” called “Zend_calendar” that it can convert important world calenders, such as Persian Jalali (hijri shamsi) calendar, Japanese Calendar, Hebrew Calendar, Chinese Calendar, Islamic Calendar and etc. please see below link for more details: http://framework.zend.com/wiki/display/ZFPROP/Zend_Calendar+-+Thomas+Weidner

my problem is that I don’t know how can use this Zend calendar converter. or what files must be edited in magento?

and for second type calendar I have an open source Persian jalali version of Mihai Bazon calendar wrote by Ali Farhadi in this link: http://farhadi.ir/works/jalalijscalendar I attached this Java calendar, if need.

I put this Java calendar in magento and I replaced it with default Java calender. but any thing didn’t change. then I edited some files in magento core. and I saw that when I click on calendar icon, pop up calendar didn’t appear.

please help me to change my store default calendar to Jalali, and to other word people to have their own default calendars.

I think it will be very powerful and helpful if some one can solve this problem for magento. not just for Persian, yea all different calendar supported by Zend, or more.

it can be good idea for magento team that they can use all Zend abilities in their powerful software program. it can be a drop down list in magento installation progress in where we chose country, time zone and currency.

thanks in advance

0

There are 0 answers