From 2c75d348c14f09411c88170cb3f6aae5498dac9e Mon Sep 17 00:00:00 2001 From: Omar Abdulaziz Date: Thu, 20 Nov 2025 12:31:01 +0200 Subject: [PATCH] modify file updated timestamp handling for symlinks and taglinks --- src/static/js/hub.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/static/js/hub.js b/src/static/js/hub.js index ab80e51..cab65e2 100644 --- a/src/static/js/hub.js +++ b/src/static/js/hub.js @@ -22,7 +22,7 @@ function repositories(source) { function flists_file(file, username, tagname) { var output = { 'size': file['size'], - 'updated': file['updated'], + 'updated': (file['type'] == 'symlink' || file['type'] == 'taglink') && file['linktime'] ? file['linktime'] : file['updated'], }; var fileicon = $('', {'class': 'glyphicon glyphicon-file'});