摘要: 字符串转时间一定要通过 time.ParseInLocation 不能直接用Parse todayZero, _ := time.ParseInLocation("2006-01-02", "2019-01-01 15:22:22" time.Local) 如果用了Parse,二者就会存在8小时时间 阅读全文
posted @ 2022-05-16 15:07 hubb 阅读(1876) 评论(0) 推荐(0) 编辑