isodatetime: improve style

This improves the style of the code vs PEP8.

@matthewrmshin, please review.