Skip to content
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

DateTime.to_soap_value assumes UTC #53

Closed
bappelt opened this issue Mar 25, 2010 · 1 comment
Closed

DateTime.to_soap_value assumes UTC #53

bappelt opened this issue Mar 25, 2010 · 1 comment

Comments

@bappelt
Copy link

bappelt commented Mar 25, 2010

The to_soap_value method seems to assume the DateTime object is in UTC.

irb(main):016:0> a = DateTime.now
irb(main):017:0> puts a
2010-03-25T14:03:23-05:00
irb(main):018:0> puts a.to_soap_value
2010-03-25T14:03:23Z

@rubiii
Copy link
Contributor

rubiii commented Jun 14, 2010

thanks for reporting this issue. published v0.7.9 to solve this problem.

calamitas pushed a commit to calamitas/savon that referenced this issue Jun 7, 2011
DateTime.to_soap_value now returns the correct timezone instead of just defaulting to UTC.
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants