node.js - How to change timezone in heroku nodejs dashboard? -


i wondering if of had experience in changing timezone in heroku dashboard. have heard there 2 methods. setting 1 of config vars(in settings) tz like:

key:

tz 

argument:

"america/los_angeles" 

or putting in nodejs script:

proccess.env.tz = "america/los_angeles" 

is there should doing different change app's time in heroku and/or nodejs?

thank much!

the 2 alternatives said same, setting on different place (heroku config vars on first case, , code on second), question how change on heroku dashboard, i'd go first answer.

the thing should different, argument heroku config vars, should without quotes


Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -