Cookies expire sooner than set

I’m wondering if this is a bug or if it’s intentional.

I can set a cookie that expires in a year with every other web browser I’ve used. Not so with Brave. I ran the same script on Chrome and Brave today. Chrome set the expiration properly. Brave set the expiration date to January 30, 2020.

I tried it with shields up and shields down and the results were the same both times.