>That's one hell of a directive :-}
>
>For the warning the link is pretty explanatory.
>Change "return moment('12/31/9999');" to
return moment("9999 12 31","YYYY MM DD")
Same for other similar occurences.
>
>I assume the second error is the same as the one referred to in a subsequent post ?
>
Yes, I fixed that warning, but this one and another one (switch) are no longer working because a lot has been changed :( Both directives are too complicated for me to attempt to fix them on my own. I'll try to get help from my colleagues.
If it's not broken, fix it until it is.
My Blog