Skip to content

Commit

Permalink
Date format changed (RFC 3339) (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
Butochnikov committed Sep 14, 2022
1 parent 49c0529 commit 1a806fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ protected function addHeader()
$this->writer->startDTD('yml_catalog', null, 'shops.dtd');
$this->writer->endDTD();
$this->writer->startElement('yml_catalog');
$this->writer->writeAttribute('date', \date('Y-m-d H:i'));
$this->writer->writeAttribute('date', \date(DATE_RFC3339));
$this->writer->startElement('shop');
}

Expand Down

0 comments on commit 1a806fa

Please sign in to comment.