Skip to content

Commit 9319b59

Browse files
authored
fix typos
1 parent 596273f commit 9319b59

File tree

1 file changed

+2
-2
lines changed
  • src/mkdocs_git_revision_date_localized_plugin

1 file changed

+2
-2
lines changed

src/mkdocs_git_revision_date_localized_plugin/plugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,10 +271,10 @@ def on_page_markdown(
271271
is_first_commit=True,
272272
)
273273

274-
if first_revision_timestamp < last_revision_timestamp:
274+
if first_revision_timestamp > last_revision_timestamp:
275275
# See also https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/issues/111
276276
msg = "First revision timestamp is older than last revision timestamp for page %s. " % page.file.src_path
277-
msg += "This can be due to a quick in `git` follow behaviour. You can try to set `enable_git_follow: false` in the plugin configuration.
277+
msg += "This can be due to a quick in `git` follow behaviour. You can try to set `enable_git_follow: false` in the plugin configuration."
278278
logging.warning(msg)
279279
first_revision_hash, first_revision_timestamp = last_revision_hash, last_revision_timestamp
280280

0 commit comments

Comments
 (0)