Fix code style issues, use python date formating