datetime strings in db fixed