change datetime import to be consistent with style