Skip to content

Blog post date-only format #7001

@alexvoss

Description

@alexvoss

Context

Use of the blog plugin without further settings.

Bug description

As discussed in #6998 (reply in thread), the post date by default contains a time was well, which is set to 12:00AM. It should display only a date, regardless of whether the page header contains only a date or a date and time. This has also been observed in #6996.

While is is possible to fix this through customization, the default should be only the date.

Note that the default was date only as late as 9.5.13+insiders.4.53.1.

Related links

Reproduction

9.5.16+insiders.4.53.4-datetime-blog.zip

Steps to reproduce

  1. mkdocs serve
  2. navigate to http://localhost:8000/blog/
  3. Observe the date and time in the blog index
  4. Click though to the blog post itself
  5. Observe the data and time in the post metadata

Browser

No response

Before submitting

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue reports a bugresolvedIssue is resolved, yet unreleased if open

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions