LdapRecord icon indicating copy to clipboard operation
LdapRecord copied to clipboard

[Bug] Align `fromDateTime` arg order to `asDateTime`

Open stevebauman opened this issue 3 years ago • 0 comments

The argument order for fromDateTime must follow asDateTime in v3:

public function fromDateTime($type, $value)
{
    return (new Timestamp($type))->fromDateTime($value);
}

public function asDateTime($value, $type)
{
    return (new Timestamp($type))->toDateTime($value);
}

stevebauman avatar May 31 '22 12:05 stevebauman