Skip to content

needs to implement value-class-pattern value-title support in dt-* parsing step 1 #60

Closed
@tantek

Description

@tantek

Per http://microformats.org/wiki/microformats2-parsing#parsing_a_dt-_property the first step is:

  • parse the element for the value-class-pattern including the date and time parsing rules, if a value is found then return it.

Value-class-pattern support specifically support for value-title:

appears to be missing per:

which returns an "updated" property of:

  • "updated": ["T"]

whereas it should be:

  • "updated": ["20141211"]

(or possibly a newer date)
from the title attribute title=20141211 in this markup in the source:

  • <span class=dt-updated><span class=value-title title=20141211>11 December 2014</span></span>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions