YATTRSSC
YATTRSSC copied to clipboard
Fresh news not correctly ordered
Hello Andrea, thanks for the app, very promising! I use a lot fresh news special category and I found some issues with it : first, the news are not correctly ordered by date, they appear quite randomly ordered. Then, sometimes there is an issue with the minute of publication of the single item, so I get something like 20:3 which looks quite weird! Thanks in advance and keep up the great work
I looked a little bit more into the time format issue, it seems the the minutes are returned without a 0 padding, so it would probably be needed to add here https://github.com/andreafortuna/YATTRSSC/blob/master/js/func.js#L38 something like this
if (tempMin < 10) tempMin = '0' + tempMin;
Ciao
Tks! https://github.com/andreafortuna/YATTRSSC/commit/efbcd777727c9480a0f53a6bb9e309232e0cbe67