From 584b5557bcaad5dea2e2ee3de67ce2f3da2fe419 Mon Sep 17 00:00:00 2001 From: 18209 Date: Thu, 25 Sep 2025 15:40:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=8E+0800=E6=A0=BC=E5=BC=8F=E5=8F=98?= =?UTF-8?q?=E6=88=90=E5=87=8F=E6=8E=89=E5=85=AB=E5=B0=8F=E6=97=B6=E7=9A=84?= =?UTF-8?q?TZ=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adaptors/安心云最新主题数据toE5.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/adaptors/安心云最新主题数据toE5.go b/adaptors/安心云最新主题数据toE5.go index 66b700a..be4bca7 100644 --- a/adaptors/安心云最新主题数据toE5.go +++ b/adaptors/安心云最新主题数据toE5.go @@ -43,7 +43,8 @@ func (the Adaptor_Anxinyun_LastTheme) Theme2Es(theme models.AXYSavoirTheme) *mod //} // Atime, err := time.Parse("2006-01-02T15:04:05.000+0800", theme.AcqTime) - AtimeStr := Atime.Format("2006-01-02T15:04:05.000+0800") + AtimeMinus8Hours := Atime.Add(-8 * time.Hour) + AtimeStr := AtimeMinus8Hours.Format("2006-01-02T15:04:05.000Z") log.Printf("AtimeStr[%s]", AtimeStr) if err != nil { log.Printf("安心云 测点[%s] 数据时间 %s 解析错误", theme.Station.Name, theme.AcqTime)