We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f350ccd commit bbd4389Copy full SHA for bbd4389
drivers/wopan/util.go
@@ -36,5 +36,6 @@ func (d *Wopan) getSpaceType() string {
36
37
// 20230607214351
38
func getTime(str string) (time.Time, error) {
39
- return time.Parse("20060102150405", str)
+ loc := time.FixedZone("UTC+8", 8*60*60)
40
+ return time.ParseInLocation("20060102150405", str, loc)
41
}
0 commit comments