summaryrefslogtreecommitdiff
path: root/theMagicOfAutocomplete.go
diff options
context:
space:
mode:
Diffstat (limited to 'theMagicOfAutocomplete.go')
-rw-r--r--theMagicOfAutocomplete.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/theMagicOfAutocomplete.go b/theMagicOfAutocomplete.go
index 2d914fe..dc3efb4 100644
--- a/theMagicOfAutocomplete.go
+++ b/theMagicOfAutocomplete.go
@@ -9,6 +9,7 @@ import (
"strings"
"time"
+ "go.wit.com/lib/cobol"
"go.wit.com/lib/config"
"go.wit.com/log"
durationpb "google.golang.org/protobuf/types/known/durationpb"
@@ -35,7 +36,7 @@ func Autocomplete(dest any) *Argv {
all := NewArgvs()
// initializes the application config file
- config.Init(me.ARGNAME, me.VERSION, me.BUILDTIME, me.pb.Real)
+ config.Init(me.ARGNAME, me.VERSION, cobol.Time(me.BUILDTIME), me.pb.Real)
// loads the autocomplete history file
err := config.LoadCache(all, "argv", me.ARGNAME) //