Comment 5 for bug 791650

Revision history for this message
James Smith (metal-lunchbox) wrote :

I think much of the problem is in sun.py dec_to_str function. You should use the built-ins for string generation so that they will be locale specific. time.strftime('%X') will do it, you just have to feed it the time you want. We've already imported time so it costs basically nothing and adds a lot of formating features