JohannesNE / literature-clock

Clock using time quotes from the literature, based on the work of Jaap Meijers

Home Page:http://literature-clock.jenevoldsen.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

timeCode problem

nakitadog opened this issue · comments

I noticed in your code there is a small issue:
var timeCode = h + ":" + m;

Should it be?
var timeCode = h + "_" + m;

Since all the times JSON files in the /times/ folder were formatted as follows:
00_27.json or 08_47.json

This is what I saw when I downloaded the code. The JSON files did not come through as
00:27.json or 08:47.json

It should be fixed now. You may have caught it at it at an unlucky time between a few commits while changing the naming scheme (I might have pushed it to early).