`date` will always be a Date object, so you can remove this if