Why a round changes at midnight IST
Why did the reference counter restart?

Start with local midnight
The demonstration counts completed intervals since midnight in India. The date forms part of every identifier.
Check the boundary
At 23:59:59 IST the last minute is still active. One second later the one-minute display starts period 0001 of the following date.
What happens to the previous row?
The six-row list crosses midnight. On the one-minute clock, the entry immediately before the new day is period 1440 of the preceding date. The date changes while the history stays continuous.