Replies: 2 comments 4 replies
-
A very similar question was asked just yesterday: #6996. The documentation suggests that you can create your own format using the Babel pattern . Generally, it is often a good idea to search the forum as it does contain a lot of answers already. |
Beta Was this translation helpful? Give feedback.
-
I hadn't set anything explicitly for date formatting - as far as I can tell the full date and and time as in my screenshots is what you get by default - mkdocs section here https://github.com/brabster/tw-site-mkdocs/blob/a85f9d83084196f33e4098016357081fb8a78a2b/mkdocs.yml#L31 I got confused by https://squidfunk.github.io/mkdocs-material/plugins/blog/#config.post_date_format - the examples for the shortcodes suggested that I'd get a date, but I was seeing a datetime - which is why I asked the question. If I do override the format then I can make it just be the date https://github.com/brabster/tw-site-mkdocs/blob/5df674e90a11e964114d2082d71e2d49b05a95ff/mkdocs.yml#L34 - all working for me now |
Beta Was this translation helpful? Give feedback.
-
I notice that blog post dates have a time/timezone element, but it always shows midnight UTC for my content (and the mkdocs-material blog)
Seems a bit unnecessarily cluttered - I can't see a way to tell mkdocs-material to just format as a date. Maybe I missed an option?
Beta Was this translation helpful? Give feedback.
All reactions