From 487bdd80f8d570a49218435c17ce86c3a7e2e795 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toma=C5=BE=20Jerman?= Date: Tue, 14 Jul 2020 12:22:55 +0200 Subject: [PATCH] Change SF DateTime layout to RFC standard --- pkg/ngimporter/types/general.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkg/ngimporter/types/general.go b/pkg/ngimporter/types/general.go index 4a871f161..1e013ab9a 100644 --- a/pkg/ngimporter/types/general.go +++ b/pkg/ngimporter/types/general.go @@ -1,10 +1,13 @@ package types -import "unicode/utf8" +import ( + "time" + "unicode/utf8" +) const ( // SfDateTimeLayout represents the date-time template used by sales force - SfDateTimeLayout = "2006-01-02 15:04:05" + SfDateTimeLayout = time.RFC3339 // DateOnlyLayout represents our internal date only date-time fields DateOnlyLayout = "2006-01-02" // TimeOnlyLayout represents our internal time only date-time fields