Skip to content

Commit 67e3d7c

Browse files
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.
1 parent 47f21c5 commit 67e3d7c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/rdoc/generator/template/rails/file.rhtml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
<a href="<%= github %>" target="_blank" class="github_url">on GitHub</a>
3434
<% end %>
3535
</li>
36-
<li>Last modified: <%= file.file_stat.mtime %></li>
3736
</ul>
3837
</div>
3938

0 commit comments

Comments
 (0)