While the ArangoDB code is not 100% ISO conform it should be correct there. I 
think the ISO states that you should b use the extended format or not. 
Therefore is should not be possible set the colon at dinner points but not at 
others. Like it is done in your example.

To get an idea please look at this unfinished code:

https://github.com/ObiWahn/PEGTL/commit/95a825326d734ff035c0979b2019695befda20b0#diff-88660bc76de9dabacba18430927dfcd1

The relevant ArangoDB code can be found here:
https://github.com/arangodb/arangodb/blob/devel/lib/Basics/datetime.cpp

Reading the code is your best shot to understand what will work and what does 
not. Because this does not follow closely any standard.

At some point I wanted to make it ISO conform but it was decided that it is not 
worth the trouble and we do not want to change what is currently supported.

If you are interested you can help in my freetime effort to finish the PEG 
grammar in above repository. It might be added to ArangoDB because we use PEGTL 
in other places by now. This was not the case when I was looking at the problem 
last time. Therefore an additional library needed to be added in the past 
resulting in more resistance.


-- 
You received this message because you are subscribed to the Google Groups 
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/arangodb/8e857aa3-fd7a-4a30-a4ff-b1ef208015f0%40googlegroups.com.

Reply via email to