- Check your current timezone with
date
in the command line. You should get something like this.Fri Oct 3 10.32:13 UTC 2014
whereUTC
is your current timezone. - To change your timezone just run
sudo dpkg-reconfigure tzdata
and follow the instructions. Easy! - Check the timezone again with
date
. Now your timezone should be in this exampleCEST
Homestead provides an Ubuntu System and has by default only english locales installed. In PHP locales are
important if you work for example with strftime
.
Check the currently installed locales with locale -a
.
To add a new locale, you have to generate it. For example for a german locale enter sudo locale-gen de_DE.UTF-8