diff pkg/imports/wp.go @ 4074:eb2f949ddfa2

Rename TimeGuesser to TimeParser.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 25 Jul 2019 15:08:11 +0200
parents 4acbee65275d
children cb74aa69954e
line wrap: on
line diff
--- a/pkg/imports/wp.go	Thu Jul 25 13:31:51 2019 +0200
+++ b/pkg/imports/wp.go	Thu Jul 25 15:08:11 2019 +0200
@@ -418,7 +418,7 @@
 	feedback.Info(
 		"Matching points to lines with a precision of %.4fm.", precision)
 
-	parseDate := misc.TimeGuesser([]string{"02.01.2006"}).Guess
+	parseDate := misc.TimeParser([]string{"02.01.2006"}).Parse
 
 	insertStmt, err := tx.PrepareContext(ctx, insertWaterwayProfileSQL)
 	if err != nil {