dewdrops wrote:
> hmmm .. true  but what if you are accepting an email from the user to
> set the task in your calendar app??
> 
> The only othe option is somehow get the 'email sender's' IP to place
> him in some timezone or
> Try to get the time from the email but all i got was the datetime of
> the email server they sent the email from (eg gmail etc).
> 
> Any suggestions on this issue??
> 
> On Nov 11, 2:24�am, Marnen Laibow-Koser <rails-mailing-l...@andreas-

A possible solution is to ask your users what their local time zone is 
using the time zone select helper. Then store that value in their user 
record. Then assume all times are in the time zone that you store for 
them.

Dealing with time zones is not a trivial issue and you won't be able to 
rely on time zone names or abbreviations. As mentioned earlier, users 
will probably not even know what to enter anyway.
-- 
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