diff --git a/examples/gno.land/p/demo/forms/create.gno b/examples/gno.land/p/demo/forms/create.gno index a80a3380830..28b6add42dd 100644 --- a/examples/gno.land/p/demo/forms/create.gno +++ b/examples/gno.land/p/demo/forms/create.gno @@ -23,7 +23,7 @@ type times struct { func parseDates(openAt string, closeAt string) (times, error) { var openAtTime, closeAtTime *time.Time - dateFormat := "2006-01-02T15:04:05Z" + const dateFormat = "2006-01-02T15:04:05Z" // Parse openAt if it's not empty if openAt != "" {