I am having problems using delocalize gem (which comes very handy btw).

# with delocalize
p Time.now, Time.current
2012-06-12 14:23:17 +0200
Tue, 12 Jun 2012 12:23:17 UTC +00:00

Result seen on input field: 12.06.2012 12:23 (date format is %d.%m.%Y
%H:%M). It should be 12.06.2012 14:23.

#without delocalize
Result seen on input field: 2012-12-06 14:23:17 which is OK except that
now date format is wrong which was the reason why use delocalize at
first place.

Rails 3.2.5
Ruby 1.9.3p0
Using delocalize (0.3.1)
Ubuntu 12.04., /etc/timezone Europe/Ljubljana


Does delocalize have any options which could solve the problem?

by
TheR

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to