<solved> How to set up process.env.TZ from render process


#1

Hi,

I am trying to set time zone using process.env.TZ = 'America/Managua'; in my app
if I give that in main process it is properly setting up timezone but if I give that in render process no effect is there any way to set timezone from render process.

Thanks
Jk


#2

we do this require('electron').remote.process.env.TZ = 'America/Los_Angeles';