spf13 / cast

safe and easy casting from one type to another in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

missing parse on format like "2016-03-06 15:28:01 +0900"

tuziemon opened this issue · comments

When I tried to parse "2016-03-06 15:28:01 +0900", I got a wrong result.

code:
ToTimeE("2016-03-06 15:28:01 +0900")

result I get:
time.Date(2016, 3, 6, 15, 28, 1, 0, time.UTC)

result I want:
time.Date(2016, 3, 6, 6, 28, 1, 0, time.UTC)

pull request: #119