There's nothing here checking that `value` is a valid Date object?