-
Notifications
You must be signed in to change notification settings - Fork 106
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
Salesforce Date/Time into Golang time.Time #38
Comments
@gmark-newt You can create a type that implements the json.Marshaler and json.Unmarshaler interfaces. Warning untested code ahead!
|
@nimajalali if I submitted a patch to add a Date type to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there any way to easily read back a Salesforce Date/Time object into a golang time.Time object?
I can write a Golang time.Time object into the Salesforce Date/Time object, but I cannot go the other way. I get this error: "Unable to unmarshal response to object: parsing time ""1965-04-06T00:00:00.000+0000"" as ""2006-01-02T15:04:05Z07:00"": cannot parse "+0000"" as "Z07:00"1"
How can I achieve this?
Thanks!
The text was updated successfully, but these errors were encountered: