How could a test case help me? Output of the console shows already that 
there's something messed up:

>> I18n.locale
I18n.locale
=> "DE-de"

>> I18n.l(Time.now, :formats => :default)
I18n.l(Time.now, :formats => :default)
=> "Sun, 04 Apr 2010 12:49:37 +0100"

>> I18n.l(Time.now, :formats => :short)
I18n.l(Time.now, :formats => :short)
=> "Sun, 04 Apr 2010 12:52:23 +0100"

>> I18n.l(Date.today, :formats => :default)
I18n.l(Date.today, :formats => :default)
=> "2010-04-04"

>> I18n.l(Date.today, :formats => :long)
I18n.l(Date.today, :formats => :long)
=> "2010-04-04"

Locale is "DE-de" which is German but Time and Date is still being 
displayed in the English format. Furtermore it doesn't make a difference 
if I change the formats argument which is not how it's meant to be as 
well.

There musst be really something screwed up but I have no idea what that 
could be.... really frustrating.
-- 
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