added conditional to end_time formatting to fix failing features