Skip to content

Instantly share code, notes, and snippets.

@rmpel
Created October 17, 2018 13:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rmpel/5b579c7c1651107dc448b82d8400917a to your computer and use it in GitHub Desktop.
Save rmpel/5b579c7c1651107dc448b82d8400917a to your computer and use it in GitHub Desktop.
Local by Flywheel - DATE SHIT

Create a link to the correct system timezone, in this example 'Europe/Amsterdam'

  1. Open Site SSH
  2. cd /etc
  3. rm localtime
  4. ln -s /usr/share/zoneinfo/Europe/Amsterdam localtime

alter the PHP ini file

  1. Open de PHP config file in /conf/php//php.ini
  2. in the section [Date]
  3. set date.timezone = Europe/Amsterdam

restart the Local site.

  1. Open Local by Flywheel
  2. right-click the site
  3. click 'restart'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment