According to the Python Library Reference release 2.2.2 the ninth tupel element of time.localtime() should contain a daylight savings flag. In PyS60 1.4.2 always -1 is returned and not 0 or 1.
The manual page of localtime defines the meaning of that flag as follows:
"tm_isdst
A flag that indicates whether daylight saving time is in effect at the time described. The value is positive if daylight saving time is in effect, zero if it is not, and negative if the information is not available."
So, a compliant implementation of localtime is allowed to always return -1. This just means that the DST information isn't available at this time, using this call.
This is thus a feature request, not a bug. Moving to feature requests.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1162622
Originator: NO
The manual page of localtime defines the meaning of that flag as follows:
"tm_isdst
A flag that indicates whether daylight saving time is in effect at the time described. The value is positive if daylight saving time is in effect, zero if it is not, and negative if the information is not available."
So, a compliant implementation of localtime is allowed to always return -1. This just means that the DST information isn't available at this time, using this call.
This is thus a feature request, not a bug. Moving to feature requests.