Reputation: 1572
I am trying to create a drop down with different timezones using the simple_form gem and the timezone helper. This works fine using this bit of code:
.tag = f.input :timezone, as: :time_zone
The problem is, that the timezone is displayed like so GMT+1 even though, thanks to daylight saving time we are (right now) GMT+2. Any way I can make that happen?
Upvotes: 0
Views: 177
Reputation: 9961
DST has a reason only in context of time moment i.e. if you known time moment and timezone you can determine has it DST or not. This input known nothing about your time moment, so it just display default formatted time zone values.
Here is discussion about your problem where it described in details.
Upvotes: 1