Closed jecraig closed 4 years ago
Shifting all of my dates to .hour(12) appears to be a decent workaround. It appears to really only happen when your date starts in the DST zone.
hey Jacob, good find. I'm worried this may be another view of #182 . My guess is that it gets close to the dst-change, but then finds itself off by an hour.
yes- particularly hitting the infinite loop. This needs to be fixed. in post-processing, the library should realize it hasn't shifted a whole day yet, and make a correction. I'm surprised this was not caught. Will add to the next release. cheers
hey Jacob, this should be fixed now in 6.6.0
thanks for your patience
let me know if you see anything else
Using version 6.4.1. Here's the output from the console.
As you can see, the date doesn't make it over to 2019-11-03. Because of this, using startOf date just puts you back where you were before the add.
Found this because we got an infinite loop trying to iterate over all of the dates between two dates.