I assume they are using date-fns - Saw this bug in that lib once when doing a demo and it was really embarrassing.
You would expect a date processing library to somehow manage to not have bugs like this.
I guess we'll have to update those screenshots! :)