Fixes bad transcription of hours from JS to Ruby