mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Formatting
This commit is contained in:
parent
e1723f0cc6
commit
0d72b5f57e
@ -64,7 +64,7 @@ class PostDate(BaseConfigOption[DateDict]):
|
|||||||
for key, value in config[key_name].items():
|
for key, value in config[key_name].items():
|
||||||
|
|
||||||
# Handle datetime - since datetime is a subclass of date, we need
|
# Handle datetime - since datetime is a subclass of date, we need
|
||||||
# to check it first, or we'll loose time - see https://t.ly/-KG9N
|
# to check it first, or we lose the time - see https://t.ly/-KG9N
|
||||||
if isinstance(value, datetime):
|
if isinstance(value, datetime):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ class PostDate(BaseConfigOption[DateDict]):
|
|||||||
for key, value in config[key_name].items():
|
for key, value in config[key_name].items():
|
||||||
|
|
||||||
# Handle datetime - since datetime is a subclass of date, we need
|
# Handle datetime - since datetime is a subclass of date, we need
|
||||||
# to check it first, or we'll loose time - see https://t.ly/-KG9N
|
# to check it first, or we lose the time - see https://t.ly/-KG9N
|
||||||
if isinstance(value, datetime):
|
if isinstance(value, datetime):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user