From 0b3ff2aec92a16eddd0f1cf2f4523307f0af4c7c Mon Sep 17 00:00:00 2001 From: Ian McEwen Date: Wed, 18 Sep 2024 14:42:34 -0700 Subject: [PATCH] Mark the planned end date read from the database as a local timestamp --- internal/internal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/internal.go b/internal/internal.go index c3ab5ae..d536233 100644 --- a/internal/internal.go +++ b/internal/internal.go @@ -1000,7 +1000,7 @@ func (i *Internal) getTimeLimit(ctx context.Context, userID, id string) (map[str outputMap := map[string]string{} if timeLimit.Valid { - v, err := timeLimit.Value() + v, err := timeLimit.Value().Local() if err != nil { return nil, errors.Wrapf(err, "error getting time limit for user %s on analysis %s", userID, id) }