Allow to set the date to not just a valid parseable string, but also a Date js value