Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 6370ab9

Browse files
committed
webui: Fix timestamp in commit list of compare page
1 parent a2709b1 commit 6370ab9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

webui/templates/compare.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,11 @@ <h4 style="margin: 0;">Changes between the source and destination</h4>
391391
$scope.statusMessage = "The selected source and destination can't be merged. Please choose a different source and destination.";
392392
});
393393
};
394+
395+
// Returns a nicely presented "time elapsed" string
396+
$scope.getTimePeriodTxt = function(date1, includeOn) {
397+
return getTimePeriod(date1, includeOn)
398+
};
394399
});
395400
</script>
396401
</body>

0 commit comments

Comments
 (0)