> The strange thing is that the standard Ruby IRB doesn't consider the
> environment locale, and sending "Time.now" i get the following output:
> irb(main):001:0> Time.now
> => Mon Mar 05 19:37:04 CET 2007
It looks like you've answered your own question. In Rails you've
overridden default behavior with localization settings. Thus, when you
run console, you're inheriting the localization. IRB does not load your
Rails configuration. My guess is that your server settings are set for
a different locale - which is what IRB is inheriting.
--
Posted via http://www.ruby-forum.com/.