Time remaining until API reset shows negative numbers
drawnepicenter opened this issue · 1 comments
drawnepicenter commented
Affected: datamuse, possibly onelook
Possibly relevant: 2016-08-17T08:01:49-04:00 format vs 2016-08-16T23:37:21.160Z format
Source file(s): tools.js
99998/100000 requests remaining today, will reset in 14 hours, -523 minutes
drawnepicenter commented
Problem appears to have been using moment().format(). Fixed in:
926bf02 use new Date().toJSON()