python: datetime truncation in effect