慕村1538275
2019-07-24 21:50
t, err := time.ParseInLocation("02/Jan/2006:15:04:05 +0000", ret[4], loc)
cannot parse "[24/Jul/2019:21:48:23 +0000]" as "02" [24/Jul/2019:21:48:23 +0000] 这个是什么问题啊,时间格式也没问题
2019/07/24 21:53:03 ParseInLocation fail: parsing time "[24/Jul/2019:21:53:03 +0000]" as "02/Jan/2006:15:04:05 +0000": cannot parse "[24/Jul/2019:21:53:03 +0000]" as "02" [24/Jul/2019:21:53:03 +0000]
ret[4]打印出来是这个 [24/Jul/2019:21:53:03 +0000]
Go并发编程案例解析
15219 学习 · 53 问题
相似问题