Skip to content

v0.7.0

Compare
Choose a tag to compare
@metonym metonym released this 15 May 18:29
· 107 commits to master since this release

Breaking Changes

  • format title attribute using format prop when using relative time (2d9bc08, #16 contributed by @imbolc)

    Previously, the title attribute used the original timestamp, which may not be human-readable. By re-using the format prop, the relative timestamp title will be easier to read while the machine-parseable format is still used by the datetime attribute.

    <time
    - title="2022-05-15T18:03:57.430Z"
    + title="May 15, 2022"
      datetime="2022-05-15T18:03:57.430Z">
      a few seconds ago
    </time>