Page 1 of 1
TimeZone Setting
Posted: Thu Jan 01, 2015 7:32 am
by ashish
Hi
My server timezone is UTC and local time UTC + 5:30.
HotelDruid only allows you to add hours (ie. 5 hrs). Is there a way to add the 30 mins too?
Regards
Ashish
Re: TimeZone Setting
Posted: Sat Jan 03, 2015 5:13 pm
by ashish
Hi
Not sure if anyone is even following these forums but for the greater good let me confirm that I got this resolved by setting the timezone in .htaccess for the user account on which the software is hosted.
Another way could have been php.ini file or the date_default_timezone_set directive.
Re: TimeZone Setting
Posted: Sun Jun 14, 2015 3:33 pm
by AndilgE
Hi ashish,
Sorry for this late reply, I've just got my access to this forum some days ago. You probably have found the solution, but other ones might have the same challenge to manage.
This has to do with the php settings for date and time. I suggest you adapt the php.ini file according to your local UTC offset and set HotelDruid to correct 0 hours. php permits to set bigger cities as location and will adapt eventual daylight saving times automatically with this. Ashgabat for instance is set up in the php.ini file like this:
date.timezone = "Asia/Ashgabat"
The list of supported timezones is accessible on
http://php.net/manual/en/timezones.php
There are solutions doing this with a .htacces file. Just follow
http://www.webmastersucks.com/change-ti ... -htaccess/
for further explication.
Brgs
AndilgE