You can remove the _.isDate check. new Date() can take a Date object itself and constructs a new date with the same time as the old one.