#microformats 2022-12-10
2022-12-10 UTC
GWG-, GWG, [Michelle_Moore], gRegor, gRegorLove_, tiim, ur5us and barnaby joined the channel; btrem left the channel
#
IWDiscordRelay <jacky#7226> hm is `--01-20` valid for a Microformats date value?
#
IWDiscordRelay <jacky#7226> I'm noticing that the Rust parser thinks it isn't and it passes the mf2 test suite of values
#
IWDiscordRelay <jacky#7226> I know of a few failures in parsing it has
#
IWDiscordRelay <jacky#7226> namely around datetime values (expected: "2009-06-26T19:00+08:00", actual: "2009-06-26T19:00+0800"; from the test suite, just ran it)
#
IWDiscordRelay <jacky#7226> and concat'ing temporal values (expected: "2009-06-26 22:00-0600", actual: " 22:00-0600")
#
barnaby the only part of the mf2 parsing spec which makes any attempt to understand datetime values is the value-class datetime rules https://microformats.org/wiki/value-class-pattern#Date_and_time_values
#
[KevinMarks] The use case for that is birthday without year. It was deprecated from ISO, but is still useful
#
aaronpk weirdly that format got removed from the 2004 version of ISO8601 but it is allowed in the 2000 version https://en.wikipedia.org/wiki/ISO_8601#Calendar_dates
GWG-, [jeremycherfas] and GWG joined the channel
#
IWDiscordRelay <jacky#7226> Yeah there's a set of Rust objects to represent the time in the ways it can be accepted ("strict" validation, if you may). I'll add a test on my end but do people think adding a case to catch this in the test suite would be good?
GWG-, tiagorangel11, [manton], ur5us, tiim, barnaby, GWG and gRegor joined the channel
#
[KevinMarks] In the mf2 test suite? Yes, make it a birthday so the yearless date concept is clear.
GWG joined the channel
