style/lint cleanups
Parse durations as time.Duration