German locale fixes

As the german dates are formatted differently, make sure that the python scripts still work.