From 8da6592cd61a5999372b2bdd2c348a9e76c48332 Mon Sep 17 00:00:00 2001 From: Alex Gherasie <68433935+agherasie@users.noreply.github.com> Date: Fri, 2 Aug 2024 18:10:35 +0300 Subject: [PATCH] Update examples/gno.land/p/demo/forms/create.gno Co-authored-by: Guilhem Fanton <8671905+gfanton@users.noreply.github.com> --- examples/gno.land/p/demo/forms/create.gno | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 != "" {