HOW TO CHANGE THE HOURS FROM 0 TO 12 IN JAVASCRIPT
I recently had to troubleshoot an issue with our NSW Bus and Train Timetable board tool whereby it was displaying 0 hours instead of 12 for PM. The code was written in Javascript and after some testing, I worked out the problem. This is how it looked: Here was the original code: Although it was […]