Re: Auto-detection of local time zone
Re: Auto-detection of local time zone
- Subject: Re: Auto-detection of local time zone
- From: Johann Werner <email@hidden>
- Date: Wed, 29 Aug 2012 14:33:22 +0200
Hi Paul,
you can detect the time offset to UTC via javascript on the client browser and use that in your app to adjust the session's timezone. Though this should be taken with care as this is considering only the time offset and not the real timezone that can have additional info as daylight time savings.
jw
Am 29.08.2012 um 12:30 schrieb Paul Hoadley <email@hidden>:
> Hello,
>
> I've got a feature request in my queue entitled "Allow users to select their local time zone". That sounds like a lot of work to me. I've got to create a UI for selecting the timezone (and at the moment, this app has no other preferences, so I need to create an work out where to put a brand new preferences page, with one thing on it), and then I have to store that somewhere.
>
> Has anyone had any success auto-detecting local timezones from the client side? If so, any pointers?
>
>
> --
> Paul Hoadley
> http://logicsquad.net/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden