Skip to content

Commit d9720de

Browse files
committed
Optimize title display style
1 parent 26f83fa commit d9720de

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

mkdocs_document_dates/plugin.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ def _get_date_info(self, created, modified):
5151
return (
5252
f"<div class='document-dates-plugin-wrapper'>"
5353
f"<div class='document-dates-plugin'>"
54-
f"<span title='{t['created_time']}'><span class='material-icons'>add_circle</span>"
54+
f"<span title='{t['created_time']}: {created.strftime(self.config['date_format'])}'><span class='material-icons'>add_circle</span>"
5555
f"{self._get_formatted_date(created)}</span>"
56-
f"<span title='{t['modified_time']}'><span class='material-icons'>update</span>"
56+
f"<span title='{t['modified_time']}: {modified.strftime(self.config['date_format'])}'><span class='material-icons'>update</span>"
5757
f"{self._get_formatted_date(modified)}</span>"
5858
f"</div>"
5959
f"</div>"

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
except FileNotFoundError:
88
long_description = "A MkDocs plugin for displaying accurate document creation and last modification dates."
99

10-
VERSION = '2.3.1'
10+
VERSION = '2.3.2'
1111

1212
setup(
1313
name="mkdocs-document-dates",

0 commit comments

Comments
 (0)