-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python-edtf module doesn't follow the latest draft revision of the EDTF spec #24
Comments
Think the problem is that the version you're poiting to isn't final yet. They explicitly state that anything is still up for discussion in theory. Although in practice it should be relatively stable. See plk/biblatex#656 for a good comparison of the two specs and a lot of background on EDTF. |
@koenedaele You're right. The the link spec is still in draft form, but this library is based on an even older pre-submission from January 2012. There are a few changes that I think are quite important, especially eliminating the use of the English keywords |
True. I've been trying to follow the EDTF spec for a while now. It was never really clear to me when and if the new version was going to land and how much change it would still go through. For a long time the new draft was not even available (or rather hard to get). I think that most of the current implementations in Python and JS have gone with the 2012 version because at least that one was easy to find and stable. For me the ideal scenario would be that the ISO version gets approved, all libraries switch to that format and we create a huge ecosystem where a whole lot of issues with historical dates are now finally solveable or at least uniformly describeable (very much agree that it's better to eliminate English keywords). Not sure what the developers of this library plan to do? |
+1 It would be great if this library could be updated to the latest draft, at least. |
Sadly, the proposed standard "1SO DIS 8601" has been pulled at the request of the ISO. Not sure what's going on now. Quite frustrating... https://www.loc.gov/standards/datetime/ |
Anyone know who to contact to find out what they're thinking? |
You can find it on archive.org: |
It looks like a new spec has been published. |
This is resolved by #56 |
The latest spec can be found here:
http://www.loc.gov/standards/datetime/ISO_DIS%208601-2.pdf
Here are some differences I've noticed between the current implementation and the latest spec. (this list may not be complete):
%
to mean both uncertain and approximate (see 4.2 Uncertain and/or approximate date)X
instead of lowercaseu
for unspecified digits (see 4.3 Unspecified)unknown
(see 4.4 Enhanced time interval)..
instead of the keywordopen
(see 4.4 Enhanced time interval)Y
instead of a lowercasey
(see 4.5 Year exceeding four digits)S
instead of lowercasep
to express significance (see 4.6 Significant digits)The text was updated successfully, but these errors were encountered: