Created
January 18, 2016 11:15
-
-
Save dobryakov/ceff6ec3cfecd79decdc to your computer and use it in GitHub Desktop.
rails time_zone_select with full timezone names (TZInfo)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= time_zone_select(:user, :time_zone, nil, { model: TZInfo::Timezone, default: 'Europe/Moscow' } ) %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a way to show ActiveSupport::TimeZone but save as TZInfo::Timezone