[TZInfo-users] GMT definitions
gpdambra at gmail.com
Wed Apr 16 05:32:22 EDT 2008
Hi Philip, thank you for the support.
I use this for generating my list:
<%= time_zone_options_for_select (current_user.time_zone,
At the moment I didn't find anything better. "My wish" is to list only
'(GMT+02:00) *city*' but with th correct values, but I haven't found
anything googling. Could you help me?
On Wed, Apr 16, 2008 at 11:12 AM, Philip Ross <phil.ross at gmail.com> wrote:
> On 16/04/2008, Gianpaolo D'Ambra <gpdambra at gmail.com> wrote:
> > Hi to everybody! My problem with tzinfo is about definitions. If I
> > from my select list Content and city name like "Europe - Athens" (list
> > "Europe/Athens") everything works fine, but If I choose somenthig like
> > "(GMT+02:00) Athens" (so the list value "Athens") my app gives this
> > when it try to define the timezone:
> > no such file to load -- tzinfo/definitions/Athens
> 'Athens' isn't a valid timezone identifier. If you're using TZInfo
> directly, you'll need to use the actual identifier, 'Europe/Athens' in
> this case.
> What are you using to display the list of timezones for selection? You
> should be able to arrange to display strings like '(GMT+02:00) Athens'
> but have the value of the associated timezone identifier
> Phil Ross
> http://tzinfo.rubyforge.org/ -- DST-aware timezone library for Ruby
> TZInfo-users mailing list
> TZInfo-users at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the TZInfo-users