you should be able to read from the servers registry using the win32api...
No doubt you can make this work.
On Thursday, March 23, 2006, at 2:48 PM, Yash wrote:>Hi,
>
>On our web pages, we would like to show all dates and times in the
>format defined on the server''s registry. The rails application will
be
>installed in different countries, hence we want to cater to all types
>date and time formats by picking it from the registry.
>The formats used in the registry are such as M/d/yyyy, whereas the Time
>class in Ruby uses formats such as %m/%d/%Y.
>
>Is there a plugin that lets us convert the win registry format to Ruby
>format?
>Better still, does rails let us display dates and times in formats
>defined in the server''s registry?
>Remember we want the settings from the server and not the client. This
>is because of a specific requirement.
>
>-Yash
>
>--
>Posted via http://www.ruby-forum.com/.
>_______________________________________________
>Rails mailing list
>Rails@lists.rubyonrails.org
>http://lists.rubyonrails.org/mailman/listinfo/rails
Mikkel Bruun
www.strongside.dk - Football Portal(DK)
nflfeed.helenius.org - Football News(DK)
ting.minline.dk - Buy Old Stuff!(DK)
--
Posted with http://DevLists.com. Sign up and save your time!