Closed jcherniak closed 4 years ago
Follow up to #123, if an invalid value is passed in, Moment::createFromFormat should return FALSE, as DateTime::createFromFormat does, instead of throwing a TypeError from passing false to Moment::fromDateTime.
Thanks
Follow up to #123, if an invalid value is passed in, Moment::createFromFormat should return FALSE, as DateTime::createFromFormat does, instead of throwing a TypeError from passing false to Moment::fromDateTime.