mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
time.Unix still requires normalization to UTC
This commit is contained in:
parent
8031085c26
commit
fab0630180
6 changed files with 10 additions and 10 deletions
|
|
@ -45,7 +45,7 @@ func zncWireTimeToTime(str string) (result time.Time) {
|
|||
}
|
||||
seconds, _ := strconv.ParseInt(secondsPortion, 10, 64)
|
||||
fraction, _ := strconv.ParseFloat(fracPortion, 64)
|
||||
return time.Unix(seconds, int64(fraction*1000000000))
|
||||
return time.Unix(seconds, int64(fraction*1000000000)).UTC()
|
||||
}
|
||||
|
||||
type zncPlaybackTimes struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue