Using regional settings from windows registry



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
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.



you should be able to read from the servers registry using the

No doubt you can make this work.

On Thursday, March 23, 2006, at 2:48 PM, Yash wrote:

Rails mailing list

Mikkel B. - Football Portal(DK) - Football News(DK) - Buy Old Stuff!(DK)