fix time/datetime ms truncation

was inconsistent