Addressing the last modified date round-up by parsing the date twice

time.strftime gets the correct local time
datetime.strftime retains the microseconds of the original date

If the second one has any microseconds, round up the first one