fix issue 219

Standardize the timestamp for input ts_start and ts_end to fix the issue