From: Andrew M. <an...@ob...> - 2005-05-24 02:22:46
|
Looking through the bug reports, I see the following report: There is a problem with parsing German datestyle by the DateTime.ISO.ParseAny: ValueError: unsupported format: "19.09.2003"; Maybe DateTime.Parser.DateTimeFromString is better? I think making the parsing more generous is a mistake - pypgsql should explicitly tell the postgres libs what date format it generates and expects (via SET datestyle TO 'ISO,European'), rather than try to guess. -- Andrew McNamara, Senior Developer, Object Craft http://www.object-craft.com.au/ |