Fixed wrong order of arguments in date format methods