Re: [Rails] Handling User-Entered Dates with Time Zones

2011-03-25 Thread Frederick Cheung
On 25 Mar 2011, at 04:27, Seth Willits > > ...except that doing this, Rails interprets the datetime the user > entered in my configured default time zone (UTC). Instead, I need to use > the time zone the user specified. So after failing to find any good way > to do this, it seems to me, the sh

[Rails] Handling User-Entered Dates with Time Zones

2011-03-24 Thread Seth Willits
In this app, a user enters a date. To be friendly, the user can enter dates in any time zone. (The source data may be in any number of time zones, so this isn't a sticky preference, it could vary on each date they submit.) This date and time in the arbitrary time zone though, should then be convert