How to change timezone server to local at Heroku

Bangun
Bangun
Feb 24, 2017 · 1 min read

Heroku uses UTC by default. We need to change Heroku Config Variables. You can use one of these ways.

  1. Using command line

$ heroku config:add TZ=”Asia/Jakarta”

2. Go to your Heroku website

Go to Settings > Click Reveal Config Vars > Add new config var: TZ = Asia/Jakarta