package main
import (
"fmt"
"time"
)
const in = "+03:00" // "2019-07-02T19:28:39.403+03:00"
const TIME = "+07:00" // "2006-01-02T15:04:05.999+07:00"
func main() {
fmt.Println(time.Parse(TIME, in))
}
Numeric time zone offsets format as follows:
-0700 ±hhmm -07:00 ±hh:mm -07 ±hh
Am I doind something wrong or it is bug?