Mercurial > gemma
diff pkg/imports/wp.go @ 4075:cb74aa69954e
Moved TimeParser to common package.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 25 Jul 2019 15:14:44 +0200 |
parents | eb2f949ddfa2 |
children | 8b75ac5e243e |
line wrap: on
line diff
--- a/pkg/imports/wp.go Thu Jul 25 15:08:11 2019 +0200 +++ b/pkg/imports/wp.go Thu Jul 25 15:14:44 2019 +0200 @@ -30,7 +30,7 @@ "github.com/jackc/pgx/pgtype" - "gemma.intevation.de/gemma/pkg/misc" + "gemma.intevation.de/gemma/pkg/common" "gemma.intevation.de/gemma/pkg/models" "gemma.intevation.de/gemma/pkg/wfs" ) @@ -418,7 +418,7 @@ feedback.Info( "Matching points to lines with a precision of %.4fm.", precision) - parseDate := misc.TimeParser([]string{"02.01.2006"}).Parse + parseDate := common.TimeParser([]string{"02.01.2006"}).Parse insertStmt, err := tx.PrepareContext(ctx, insertWaterwayProfileSQL) if err != nil {