FamilySearch / gedcomx-php

PHP SDK for GEDCOM X Processing. See the documentation at
http://familysearch.github.io/gedcomx-php/
Other
35 stars 15 forks source link

Provide constructor for Gedcomx\Util\FormalDate that accepts a string #16

Open jimmyz opened 9 years ago

jimmyz commented 9 years ago

Would be great to be able to do this:

$formalDate = new Gedcomx\Util\FormalDate("+1968-02-28");

Today there is no constructor. You have to use parse method.