divijbindlish / parse-torrent-name

Extract media information from a filename
MIT License
215 stars 60 forks source link

Add ISO 8601 Date Parsing #22

Open damolp opened 6 years ago

damolp commented 6 years ago

Adds capability to detect any ISO 8601 dates in the title after the year. #14 as a result. Added new tests which pass. Modified the test script to test PTN relative to the repo (to stop a repeat of #21).

jaredmichaelwilliams commented 4 years ago

Is this working for you?

Tried applying your changes and its still not working with these dates.

Any insight or changes maybe not in the PR would be appreciated. Thanks!

damolp commented 4 years ago

Yeah it works for me, but I followed the scene rules. If you have actual ISO8601 dates (non-scene) then I suggest you fork and use Test Driven Development to come up with a better version for your requirements.