YATTRSSC icon indicating copy to clipboard operation
YATTRSSC copied to clipboard

Fresh news not correctly ordered

Open andreadecorte opened this issue 11 years ago • 2 comments

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

andreadecorte avatar Apr 27 '13 23:04 andreadecorte

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

andreadecorte avatar Apr 28 '13 15:04 andreadecorte

Tks! https://github.com/andreafortuna/YATTRSSC/commit/efbcd777727c9480a0f53a6bb9e309232e0cbe67

andreafortuna avatar Apr 28 '13 20:04 andreafortuna