My function sameHour.js is not no clean but I don't know how to improve it.
There are 2 issues :
- I compare two strings
- I could parse it but I don't know how to make it cleanly
- I return in a forEach.
- It works for the moment but could crash the code in the future