So after the long hours of building my scheduling bot for Slack, I’m ready to deploy on Heroku, which is an awesome service by the way, but something is wrong, the times are all off.
Turns out my Heroku app was 4 hours off, more specifically my Heroku server running my app was 4 hours off.
Luckily this is an easy fix through the command line. Just set the time zone to a TZ database timezone, you can find them all here.
heroku config:add TZ="America/New_York" --app yourappname