Gonzalo Beviglia
Gonzalo Beviglia
@xaviergonz so only way to produce another snapshot is to delay execution, leaving stuff out of sync. Or is there another way with the current api?
On investigating this I wrote a small function that might solve this issue. Has not been tested thoroughly, so use with caution: ```js // Removed the dirtyDate / dirtyAmount just...
@ovcOS what if I don’t know the timezone and I don’t care about it? Which one should I set? My questions are rhethorical. If you want to be timezone agnostic...
@ovcOS no, that is the whole point. Check the difference between addMonths and agnosticAddMonths https://github.com/date-fns/date-fns/issues/571#issuecomment-470859100
@ovcOS what if we run in the browser, I cannot enforce UTC (or makes no sense for a test to run enforcing UTC). And the outcome of addMonths would be...
@peec is this the expected behavior, though? Why would I need to re-polyfill something that was inlcluded?
@silviuavram for 1, you are right, the `defaultHightlightedIndex` prop works as expected (I guess I had a typo when I tried it out 😢). Still, would be nice to understand...
@silviuavram 1. I understand that, but I can’t see why I’m receiving a null highlighted index in the second call (and no other change, with the same changes.type that it...
@silviuavram 1. Clear. I will take a look and see if I can work it out. 2. Maybe I did not make myself clear. Want I would like to achieve...