From c0d01a48275761e42c59655a7554e9b4fe352cc9 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 16 Oct 2025 06:58:42 -0500 Subject: moved to standard table location --- indexHtml.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'indexHtml.go') diff --git a/indexHtml.go b/indexHtml.go index 48a1a01..c653221 100644 --- a/indexHtml.go +++ b/indexHtml.go @@ -4,6 +4,8 @@ import ( "fmt" "net/http" "strings" + + "go.wit.com/lib/cobol" ) func indexHeader(w http.ResponseWriter) { @@ -102,7 +104,7 @@ func indexBodyRepo(w http.ResponseWriter, gourl string, giturl string, desc stri if repo, ok := gitMap[gourl]; ok { version = repo.GetLastTag() age := repo.NewestAge() - vtime = formatDuration(age) + vtime = cobol.FormatDuration(age) dver = repo.GetDevelVersion() } // log.Info("gopath", gourl, "dur", vtime, "version", version) -- cgit v1.2.3