Use time.ParseDuration instead of hacky manual parsing