-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot parse 2015-06-10 00:00:00 GMT+02:00
#78
Comments
Do you mind clarifying for me is the "2015-06-10" |
Hm, seems go doesn't really like that offset format (seems to not support the combo of GMT[+-]hh:mm ie with the colon?) https://play.golang.org/p/fjk2fFKNAwu package main
import (
"fmt"
"time"
)
func main() {
t, err := time.Parse("2006-01-02 15:04:05 MST-07:00","2015-10-06 00:00:00 GMT+02:00")
fmt.Printf("1 t=%v err=%v\n\n", t, err)
}
|
Yes, the problem is definitely in the format. :( |
I think I got it in my pr: #151 |
Revision:
21df004e09ca46e07ce99bbba1e8c2422ba4ecf9
Example link:
https://www.e-marketing.fr/Thematique/social-media-1096/Breves/Banque-Postale-mise-marketing-temps-reel-impression-255997.htm#WQ17awvif7mWRLVy.97
Test Case
Result
The text was updated successfully, but these errors were encountered: