Added EPP contact create

This commit is contained in:
Pinga 2023-08-18 17:42:44 +03:00
parent 69abcd237b
commit ac0a2773f4
3 changed files with 397 additions and 63 deletions

View file

@ -617,7 +617,7 @@ class EppWriter {
$writer->writeAttribute('xmlns:contact', 'urn:ietf:params:xml:ns:contact-1.0');
$writer->writeAttribute('xsi:schemaLocation', 'urn:ietf:params:xml:ns:contact-1.0 contact-1.0.xsd');
$writer->writeElement('contact:id', $resp['id']);
$writer->writeElement('contact:crDate', $resp['crDate']);
$writer->writeElement('contact:crDate', gmdate('Y-m-d\TH:i:s\.0\Z', strtotime($resp['crDate'])));
$writer->endElement(); // End of 'contact:creData'
$writer->endElement(); // End of 'resData'
}