11-26-2019, 01:40 AM
(11-25-2019, 07:28 PM)Crow Wrote: That's definitely not related to #1501. Metadata plugins can return null release date and Playnite will process it properly.
VNDB has a weird date format which allows users to submit a date with only a year+month+day, month+day, or year+month format. This basically required creating a new Date object for VndbSharp to allow dates without time, let alone missing year / day information potentially. The issue about dates discussed in this thread mostly relate to that, i suspect.
(I'm the Original Author of VndbSharp :D)
Mithnar, I would suggest providing an option to either allowing either default years and days, or returning null when a date is incomplete, and implementing that. It would allow users who would prefer to have partial dates see a potentially incorrect date, while users who would prefer an accurate or bust approach can also have it their way. Personally, I think the default should be accurate or bust, but it is up to you.