<@U0BJDA84R> I was informed this is the place to m...
# documentation
b
@saghosh I was informed this is the place to make documentation update requests. The
isLeapYear
docs say to pass a number, but the example passes a date: https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-in-k/isleapyear.html. Can the example be updated to show a proper use of the method?
a
A really quick test indicates the docs are right, the example is wrong: https://trycf.com/gist/64f7bfafd089985101779fcc5bdca8a1/lucee5?theme=monokai
That said the example code doesn't even compile on trycf. Only on my phone so can't be arsed troubleshooting
r
is it wrong that im bugged by the variable 'curyear' when it's not 2018 anymore and obviously it was when this was written? 😉
😜 1
b
I have a few issues with the examples provided in many cases. I called to have these community-editable at one point, but no go. At least with cfdocs, if I have a problem with something, I can (and do) send a PR.