Skip to content

vcp: imply dates should also imply tz if needed #4

@tantek

Description

@tantek

In http://microformats.org/wiki/value-class-pattern#microformats2_parsers

Add:

  • if a dt-* property has a time but lacks a timezone
  • then it adopts the timezone of the most recently seen dt-* property with a timezone in that microformat.
    • if no previous dt-* properties have a timezone,
    • then it adopts its timezone from the next dt-* property with a timezone seen in that microformat.
    • otherwise it simply has a floating time (without explicit timezone).

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