[Zope3-Users] obtaining time zone from http request
Stephan Richter
srichter at cosmos.phy.tufts.edu
Mon Aug 29 06:39:06 EDT 2005
On Monday 29 August 2005 02:32, Alen Stanisic wrote:
> My self.request.locale object is set but seems to be wrong
>
> str(self.request.locale.id) => <LocaleIdentity (en, None, US, None)>
>
> while I'd expect it to be something like Australia/Sydney.
>
> Is this a default locale?
No, your browser seems to be set incorrectly. Check your browser settings and
the HTTP-ACCEPTED-LANGUAGES header.
Regards,
Stephan
--
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
More information about the Zope3-users
mailing list