From 67e3d7c1074bcafa5b84b134f848af089fbd155e Mon Sep 17 00:00:00 2001 From: Jonathan Hefner Date: Thu, 3 Aug 2023 11:20:36 -0500 Subject: [PATCH] Remove misleading "Last modified" time from file.rhtml When seeing "Last modified" time in the context of a version-controlled project, users are likely to think it is the time of the last revision. However, the "Last modified" time is the mtime of the file on disk, unrelated to the time of the last commit for the file or even for the branch as a whole. Since that information can be misleading and is not particularly useful, this commit removes it. --- lib/rdoc/generator/template/rails/file.rhtml | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/rdoc/generator/template/rails/file.rhtml b/lib/rdoc/generator/template/rails/file.rhtml index 7ef03170..a681c0c2 100644 --- a/lib/rdoc/generator/template/rails/file.rhtml +++ b/lib/rdoc/generator/template/rails/file.rhtml @@ -33,7 +33,6 @@ on GitHub <% end %> -
  • Last modified: <%= file.file_stat.mtime %>