Skip to content

Instantly share code, notes, and snippets.

@conorbranagan
Created November 7, 2011 19:03
Show Gist options
  • Save conorbranagan/1345827 to your computer and use it in GitHub Desktop.
Save conorbranagan/1345827 to your computer and use it in GitHub Desktop.

Edit your config file:

$ vim /usr/local/var/postgres/postgresql.conf 

Uncomment the line starting with:

timezone = ...

And change it to:

timezone = 'UTC'

Then you will have to restart postgres to see the results, which is done with:

$ launchctl unload -w ~/Library/LaunchAgents/org.postgresql.postgres.plist
$ launchctl load -w ~/Library/LaunchAgents/org.postgresql.postgres.plist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment