From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: 39347@debbugs.gnu.org
Subject: bug#39347: 28.0.50; iso8601-parse can't handle all legal date values?
Date: Wed, 29 Jan 2020 13:00:43 -0800 [thread overview]
Message-ID: <87blqmugec.fsf@ericabrahamsen.net> (raw)
Hi!
I'm writing a small library for parsing vcards, and would like to use
the new iso8601 library, when available, for parsing date properties.
I'm testing out `iso9601-parse' with the example values from the vcard
RFC, and am getting errors from the example date value "---12", from
https://tools.ietf.org/html/rfc6350#section-4.3.1.
My understanding is that "---12" as a date should parse to:
(nil nil nil 12 nil nil nil -1 nil)
Ie, "the twelfth" (though the twelfth of what, we don't know). "----12"
also raises an error. The value "--0412" parses correctly to "April
twelfth".
Is this a bug that can be fixed, or a date value that isn't supported?
Thanks,
Eric
next reply other threads:[~2020-01-29 21:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-29 21:00 Eric Abrahamsen [this message]
2020-01-29 22:50 ` bug#39347: 28.0.50; iso8601-parse can't handle all legal date values? Lars Ingebrigtsen
2020-01-29 23:23 ` Eric Abrahamsen
2020-01-29 23:28 ` Lars Ingebrigtsen
2020-01-30 0:38 ` Eric Abrahamsen
2020-01-30 1:03 ` Lars Ingebrigtsen
2020-01-30 1:11 ` Lars Ingebrigtsen
2020-01-30 1:14 ` Eric Abrahamsen
2020-01-30 1:15 ` Lars Ingebrigtsen
2020-01-30 2:05 ` Lars Ingebrigtsen
2020-01-30 3:32 ` Eric Abrahamsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87blqmugec.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--cc=39347@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.