jmhobbs / jsTodoTxt

JavaScript parser for todo.txt formatted text files.
https://jstodotxt.velvetcache.org
MIT License
67 stars 14 forks source link

Update jsTodoExtensions.js #22

Closed ransome1 closed 3 years ago

ransome1 commented 3 years ago

Even with subtracting 1 from the months value, the old solution produces a date one day back. If instead it is created as UTC it gives a useful value.

jmhobbs commented 3 years ago

The tests we have now seem to show the code working, do you have a sample string that shows the problem? Is it a timezone specific issue?

adityabhaskar commented 3 years ago

I think this was fixed with @xuhcc 's PR that was merged earlier. This may be a duplicate attempt at issue #21