Closed amandiobm closed 4 years ago
Why would the date/time ever be null?
Have some use cases.
When using SoftDeletes
trait, by default the column deleted_at
is null. (Which is this that is breaking right now hehe )
I also have a list that contains three different dates, and all of them could be null as well. Once is null it will break the directive.
Accepting null as the first param of the convertToLocal method.