The hours are actually collected upon completion of the asset, which means that any edits made before the learner finishes the asset will be reflected when the learner completes it.
If the learner has already completed the asset, the edit will not affect their recorded hours. However, if the asset has not been completed, it will reflect the last edit made on the asset.