We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc2cfad commit c4fdfeaCopy full SHA for c4fdfea
mkdocs_git_revision_date_localized_plugin/util.py
@@ -109,6 +109,10 @@ def get_git_commit_timestamp(
109
commit_timestamp = git.log(
110
realpath, date="short", format="%at", diff_filter="A"
111
)
112
+ # A file can be created multiple times, through a file renamed.
113
+ # Commits are ordered with most recent commit first
114
+ # Get the oldest commit only
115
+ commit_timestamp = commit_timestamp.split()[-1]
116
else:
117
118
realpath, date="short", format="%at", n=1
0 commit comments