Why are you, as a recipe, lying about how long it takes to cook an onion.

@Arielledundas

Maybe it is because the recipe intends for the onion to be slightly undercooked/overcooked?