Re: Timestamp format - Why are seconds required?

Andrey Somov <[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <CAEO54bGVqeEFZmry=syu3WMY0f5FZ6S+YZEOOyVUPe6yrGfzyw@mail.gmail.com>
As far as I understand in the latest specifications (after 1.1) the
support for !!timestamp implicit value is not mandatory (this is good
!). I am sure that out of the box, without any extra configuration,
YAML parser should support only the values which are present in JSON
to avoid confusion.
For instance the !!bool value should not have 18(!) possible
combinations. And the sexagesimal integers (base 60 - '1:20' = 80)
only confuse end users.
Supporting !!timestamp shall be dropped. If users wish, they can
always add the specific regular expression for the values they want.
This support is now present in PyYAML and SnakeYAML.
Any magic, when it is not explicitly requested, creates a lot of
headache for powerful users.

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.