Comment 1 for bug 266314

Revision history for this message
Mark Sapiro (msapiro) wrote :

The underlying problem is a bug in i18n.ctime().

When i18n.ctime is passed a time string, it uses
time.strptime() to convert the string into a struct_time. If
the string doesn't contain a time zone, strptime() returns
tm_isdst = -1 which the following code treats as 1 rather
than unknown.

The attached patch (2.1.7 base) will use the phrase "Server
Local Time" translated into the list language instead of BST
or whatever.