Skip to content

v0.6.5 - Adds timezone dropdown support, other fixes

Latest
Compare
Choose a tag to compare
@jasonfb jasonfb released this 11 Oct 21:09
· 2 commits to main since this release
336c9f2

• Adds timezone support as a modify option

rails generate hot_glue:scaffold User --include=my_timezone --modify='my_timezone{timezone}'

Note that my_timezone is a string field on the User object. By specifying like so above, hot glue will generate a dropdown list of timezones using the rails time_zone_select helper.

Unlike the previous implementation, which used timezone, this one uses the Rails locale names as provided by the name method returned from the ActiveSupport::TimeZone object. full parity is still WIP but I intend to create a seamless backwards-compatible bridge

• Fixes redisplay issue on big edit

• Fix for time parsing