Skip to content

Fix invalid datetime format and replace <span> with <time> for published dates - #12

Merged
MattSLangford merged 1 commit into
microdotblog:mainfrom
chasenlehara:main
Jun 19, 2025
Merged

Fix invalid datetime format and replace <span> with <time> for published dates#12
MattSLangford merged 1 commit into
microdotblog:mainfrom
chasenlehara:main

Conversation

@chasenlehara

@chasenlehara chasenlehara commented Jun 19, 2025

Copy link
Copy Markdown
Contributor
  • Updated datetime attribute to use valid ISO 8601 format (T separator and -07:00 offset)
  • Replaced a stray <span> with <time>

You can see the html validator complain about the format before the fix: https://validator.w3.org/nu/?doc=https%3A%2F%2Fsumo.micro.blog

My blog has my fork, so this validation error doesn’t show up: https://validator.w3.org/nu/?doc=https%3A%2F%2Fme.chasen.dev%2F

…hed dates

- Updated `datetime` attribute to use valid ISO 8601 format (`T` separator and `-07:00` offset)
- Replaced a stray `<span>` with `<time>`
@MattSLangford

Copy link
Copy Markdown
Collaborator

Appreciate it!

@MattSLangford
MattSLangford merged commit b4259d3 into microdotblog:main Jun 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants