How do I set Rails config.time_zone to GMT +6?
When I open the rails application.config to set the timezone, I come across an example like this:
config.time_zone = 'Central Time (US & Canada)'
But I would like to try to set the time to something like GMT+6
, unfortunately, if I try to use this value, I get an Invalid Time Zone error. So what name do I need to use to get GMT + 6? I tried to find the name TimeandDate.com but it gave me the same error when I tried to setKyrgyzstan Time
Where exactly is the time zone rail list used? Or do I need to use some other format like +0600
(which doesn't work by the way)
Thank,
+3
source to share