Hi Jan

Thanks for confirming and thanks for the code reference. Very helpful to know. 
Might be good to note in the docs How conformant it is or not. 
If I have time I will peek at the code and see if I can contribute. 

I wonder if some cases might be well covered already by ICU4C ?

> 
> On Mar 31, 2020, at 13:07, Jan Uhde <[email protected]> wrote:
> 
> 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 a topic in the Google 
> Groups "ArangoDB" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/arangodb/TWrmSbJq0vY/unsubscribe.
> To unsubscribe from this group and all its topics, 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.

-- 
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/CEFD4BA6-4825-4BB0-8793-762A452A8634%40gmail.com.

Reply via email to