Closed lboller closed 3 years ago
Hey, thanks so much! :D I didn't expect anyone to notice my aggressive naming "getFuckingDate" so quickly, I must say this PR amused. I was so upset about the Firefox vs. Chrome bug...
Anyway, merging your fix, thanks again!
Oh, I should make this clear somewhere, but it'd probably be better to make pull requests to the dev branch, rather than master...
This is a fantastic plugin. Thanks for making it!
I noticed a problem with the date parser that resulted in cards that were scheduled for tomorrow getting pulled into the review deck today. Turns out it was a timezone issue.
Given my timezone, the parser was returning tomorrow's date as today.
The pull request incorporates a quick fix that I found to correct this (see the second answer):
https://stackoverflow.com/questions/439630/create-a-date-with-a-set-timezone-without-using-a-string-representation/439871#439871