ProfessionalWiki / EDTF

PHP library to parse, represent and work with dates that follow the Extended Date/Time Format specification.
https://wikibase.consulting/wikibase-edtf
GNU General Public License v2.0
10 stars 7 forks source link

Do not accept invalid uncertaintiy combinations #92

Open JeroenDeDauw opened 1 year ago

JeroenDeDauw commented 1 year ago

From @mzeinstra:

EDTF humanises some string that cannot exist within EDTF. only ~, ? OR % allowed/ no combinations allowed examples of not allowed/no EDTF 1985-04-12% and 1985-04-12?~ and 1985-04%~

mzeinstra commented 1 year ago

To be complete the reference says:

the uncertain and approximate qualifiers, '?' and '~', when applied together, are combined into a single qualifier character '%';

So we can have the two qualifiers, they should be presented by %