Fixing replicate end_time format