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
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