removed backwards compatibility from parseDuration