Message28601
It's probably too late to change details of the time tuple (far too much code now depends on it), but I have patches against 2.4.4 which provide an additional function called localtime_tz, which itself returns a localtime tuple containing the additional "GMT offset" field. With some modifications to various internal functions, the "struct tm" data can be populated and strftime can then produce the desired result.
With regard to datetime, it does support time zones, but there's a relatively large of work required to get "aware" datetime objects. I noted this situation in the referenced newsgroup message on this topic. |
|
Date |
User |
Action |
Args |
2007-08-23 14:40:10 | admin | link | issue1493676 messages |
2007-08-23 14:40:10 | admin | create | |
|