kentcdodds/old-kentcdodds.com

/workshops page broken

Closed this issue · 3 comments

On Google Chrome and getting a blank page for workshops. It renders once and immediately goes white. This is the error I get in the console.

Screen Shot 2019-08-27 at 8 04 21 AM

Was just about to tweet @kentcdodds about this too.

Looks like it was related to date-fns update to 2.0

kentcdodds/kentcdodds.com@6c5b903#diff-b9cfc7f2cdf78a7f4b91a753d10865a2

relevant documentation: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md

looks like just need to replace YYYY with yyyy.

Thanks! I'm planning on fixing this soon, but if someone wants to make a pull request before me that's great. There are only two or three affected code locations I think.