From 5c44103d49af92053c75c3b74ca30660ae0adc87 Mon Sep 17 00:00:00 2001 From: Marko Kungla Date: Tue, 19 Dec 2023 02:05:06 +0200 Subject: [PATCH] fix: set underlying Duration str Signed-off-by: Marko Kungla --- vars.go | 1 + 1 file changed, 1 insertion(+) diff --git a/vars.go b/vars.go index 889d6ed..6bb1382 100644 --- a/vars.go +++ b/vars.go @@ -362,6 +362,7 @@ func convert(raw any, from, to Kind) (Value, error) { if err != nil { return EmptyValue, err } + v.str = val v.raw = d return v, nil }