[Zope-DB] Localised date format

Charlie Clark charlie@begeistert.org
Sun, 01 Dec 2002 13:53:54 +0100


On 2002-11-29 at 18:26:41 [+0100], rm@mh-freiburg.de wrote:
> 
> Hello,
> 
> if i recall right i once did submit a patch for psycopg that made client 
> encoding customizable _per connection_ but i never checked whether it 
> made it into the distro. The main problem with such things is the 
> following: things like client encoding and DateStyle can only be set on a 
> _per connection_ basis. Zope serializes database access into one 
> connection. So if two "Zope Applications" share the same database 
> connection the are forced to use the same client encoding/date style etc. 
> This _can_ quickly turn into a headache ...

What's the best way to do the conversion in a PageTemplate then?