hashbangcode / vlad

Vlad - Vagrant LAMP Ansible Drupal
173 stars 53 forks source link

Add timezone variable #236

Open dixhuit opened 9 years ago

dixhuit commented 9 years ago

We should add a timezone variable so that logs, archive dumps, db dumps etc all make a bit more sense (mine are all out by an hour here in the UK).

philipnorton42 commented 9 years ago

Would this just be for the php.ini file? This already exists in the form of 'php_date_timezone'.

dixhuit commented 9 years ago

Not sure. I meant setting the timezone for the server but I'll settle for anything that does the job. I'll have a play with php_date_timezone and report back.

dixhuit commented 9 years ago

According to the Vlad docs, the default value of php_date_timezone is Europe/London - you'd think I wouldn't have noticed an issue if this was sufficient.

philipnorton42 commented 9 years ago

No, I see what you mean, and php_date_timezone doesn't cover it. I think we just need to look into NTP services a little and that should solve the issue here.

dixhuit commented 9 years ago

I made a start on reading up on this but got sidetracked by project work.

iAugur commented 9 years ago

I have a role I use for that if you are interested? https://github.com/Blue-Bag/ansible-role-first5ntp Bit Debian biased - but could be updated

philipnorton42 commented 9 years ago

Hi George, That's a good idea. Worth looking into :)