RedSquirrel87 / manga-downloader

A very simple application written in JAVA to download any chapters of any manga from the supported websites
37 stars 1 forks source link

Dated Added column sorted alphabetically rather than by age #753

Open RedSquirrel87 opened 1 year ago

RedSquirrel87 commented 1 year ago

Original report by Anonymous.


Add a Manga (I used https://chapmanganato.com/manga-ef981640 ) open Manga Click on Date Added Column

RedSquirrel87 commented 1 year ago

Original comment by Red Squirrel (Bitbucket: Red_Squirrel, GitHub: RedSquirrel87).


That’s because all data in the table are strings (even views or titles columns are sorted using their string nature, not numbers). This issue is caused by the fact that each website implements (or it does not at all) these parameters in a different way (especially for dates there are myriads of different ways to write them), so it would be almost impossible to handle all values in the same way between various sites, each would need an ad-hoc date format conversion function. I’m not saying it can not be done, but surely it will take time

RedSquirrel87 commented 1 year ago

Original comment by nexist (Bitbucket: nexist, GitHub: nexist).


Oh. I assumed there was a cast to date type function.