mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-12-19 02:46:00 +01:00
a08809a0f3
* Normalize datetime values to UTC in blog plugin Fixes #7705 Normalize datetime values to UTC in blog plugin to handle offset-naive and offset-aware datetimes correctly. * Import `timezone` from `datetime` in `material/plugins/blog/structure/options.py`. * Modify `pre_validation` method to set `tzinfo=timezone.utc` for datetime values. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/squidfunk/mkdocs-material/issues/7705?shareId=XXXX-XXXX-XXXX-XXXX). * Normalize datetime values to UTC in blog plugin Fixes #7705 + Move changes to src directory |
||
---|---|---|
.. | ||
readtime | ||
structure | ||
__init__.py | ||
author.py | ||
config.py | ||
plugin.py |