diff --git a/debian/changelog b/debian/changelog index ee25dfca..1bf34bf8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (23.40.6) stable; urgency=low +hedera-web (23.40.7) stable; urgency=low * Initial Release. diff --git a/rest/edi/lib/segment.php b/rest/edi/lib/segment.php index e25bd007..6e6f52b3 100644 --- a/rest/edi/lib/segment.php +++ b/rest/edi/lib/segment.php @@ -18,7 +18,7 @@ class Segment { switch ($type) { case Type::DATE: - $tmp = Date.vnNew(); + $tmp = new Date(); $tmp->setDate(substr($v, 0, 4), substr($v, 4, 2), substr($v, 6, 2)); return $tmp; case Type::TIME: