What about the 60mins K and 1 hours K charts

Our market has day session and night session. The trading hours in the day session are 8:45~13:45, the trading hours of the night session are 15:00 and the next morning is 5:00, then we will use the 60-minute K bar .A problem has occurred,
If it is set to open at 8:00, it will be 8:00 to 8:59, 13:00 to 13:45, and if it is set to 8:45, it will be 14:45 to 15:45. K stick, how can I use Day Session, Night Session for 60 mins K or 1 hour K?

I have confirmed that the day session is 08:45 ~ 13:45 and the night session is set to 15:00 ~ 5:00