this sounds like something, small but it took me a little more time than usual to understand this as a beginner.
And it is creating the real-time custom time format. Many tutorial were out there but they mainly used the as-is default format by javascript, which found little hard to format.
The simple solution was to just give each component is own variable and using template literal to give it the format of your choice.
The pic below will look almost the same as previous execpt, it not. yes it has changed a little on the outside, but it has changed wayyy more on the inside