Problems with calculations of days

Hello, I am making an app for booking shifts in a barbershop with 11 barbers, I made a collection of Schedules from 8am to 7pm and assigned a day with the datepiker, (a schedule can have many barbers) for the search engine with many relationships many with barbers
The initial configuration is from Tuesday, February 22 to Saturday, February 26
So far it’s working great… the question is:
I made a page where there is a list of times with a countdown so that it is updated February 22 + 7 so the date is updated at 1/3 the problem that adds up badly

Any suggestion?

before updating the countdown (tuesday 2/22)

after updating the countdown (Monday 2/28)

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.