0

I want to create my own custom timezome in magento at

System -> Configuration -> General -> Locale Options -> Timezone.

Can anyone help me in this ?

0

You have to set your timezone manually first go to :
app/etc/config.xml and add your time zone here

        <general>
            <locale>
                <code>en_US</code>
                <timezone>Asia/Calcutta</timezone>
            </locale>
        </general>

Now go to app/Mage.php on line 768 and change this line too

date_default_timezone_set('UTC');
to your timezone
date_default_timezone_set('Asia/Calcutta');

EDIT1:
Try this http://www.magikcommerce.com/blog/how-to-setup-configure-manage-time-zones-in-magento/

  • I don't want this. I want to create a new option like custom timezone in that dropdown – BornCoder Apr 12 '17 at 9:00
  • I edited my post – Konrad Siamro Apr 12 '17 at 9:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.