TimeZone Setting

Discuss here how to configure hoteldruid and better use its features.

Moderator: marco

Post Reply
ashish
Posts: 7
Joined: Thu Dec 18, 2014 4:49 pm

TimeZone Setting

Post 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
ashish
Posts: 7
Joined: Thu Dec 18, 2014 4:49 pm

Re: TimeZone Setting

Post 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.
AndilgE
Posts: 29
Joined: Tue Jun 02, 2015 9:11 am
Location: Rua José Alexandre 107 - Flecheiras, 62690.000 Trairi-CE, Brasil

Re: TimeZone Setting

Post 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
Post Reply