Match the console version of the library to the docs
kossnocorp opened this issue · 1 comments
kossnocorp commented
See the original issue: date-fns/date-fns#887
Minor thing, but a lot of times when I'm looking for a particular feature in a JS library, I'll go to the docs and try it out in the console. However the version of date-fns doesn't switch when you switch the documentation version, so what you're trying out in the browser console doesn't line up with what you're viewing in the docs.
kimroen commented
This was very jarring to me as I was trying out the formatting functions that changed dramatically in version 2 using a pre-2 version in the console.