Skip to content

dt-parsing seems to try to interpret value (breaking it in some cases) #149

Closed
@sknebel

Description

@sknebel

Regression from last release to master
Example site: https://aaronparecki.com/, which has

<div class="h-card">
<time class="dt-bday" datetime="--12-28"></time> 
</div>

output:

{
   "type": ["h-entry"],
   "properties": {
                "bday": ["--12-2800"],
            }
 }

expected output: "bday": ["--12-28"]

This looks like php-mf2 tries to parse the date, instead of simply passing through the value it finds in the datetime=property.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions