citrusreticulata opened a new pull request, #70: URL: https://github.com/apache/iotdb-client-go/pull/70
Fix some bugs about time zone. This PR is for `rel/0.13`, relative PR for `main`: 1. https://github.com/apache/iotdb-client-go/pull/68 2. https://github.com/apache/iotdb-client-go/pull/69 ### summary: #### cleanup invalid codes from session cleanup invalid codes from session #### set DefaultTimeZone if GetTimeZone returns an error `func (s *Session) GetTimeZone() (string, error)`: `return "", err` --> `return DefaultTimeZone, err` If the error is not handled, the TimeZone in the config may be directly set to an empty string value without any check. In previous file 'session_example.go', the time zone was printed only when there was an error. It should be a design error -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
