What timezone is Heroku server using?

后端 未结 4 1177
忘掉有多难
忘掉有多难 2020-12-09 07:40

What timezone does Heroku\'s servers use? I\'m trying to use node-cron and have the timezones line up, but I can\'t understand what timezone Heroku is using. Here\'s an exam

4条回答
  •  感情败类
    2020-12-09 08:29

    According to this, Heroku Help Log, you can change it with TZ variable. However, this never changes your log times, as they are always UTC.

提交回复
热议问题