Menstration logging-help!

This may just be my baby brain but- if my period ends, for instance, this morning (bleeding still at 2am but by 9am it's done)...is today the last of period for logging on the app or would it be yesterday since a majority of my day was period free?