How can I change the clock to AM and PM
I have been working on a kaboom game recently and have been trying to get a clock working. I have the clock and all I need is a system to say AM or PM. What am I doing wrong?
The code is on lines 105-112 file main.js
Here is literally all the code you need to make a working clock in JS: