This has caused me a great deal of pain in the last week (was thinking it was a limitation on the Zuora side):
https://github.com/sportngin/active_zuora/blob/master/lib/active_zuora/fields/date_time_field.rb#L11-14
It should just use %Y-%m-%dT%H:%M:%S-08:00. This will add the 00:00:00 Timestamp even if one doesn't exist, but at least it won't overwrite timestamps if they're provided.
Also, usage startdatetime and enddatetime are good examples of user-set attributes that are not just dates, but a full timestamp.
I can submit a patch, but there are no tests for that stuff, so I will spend some time over the weekend adding a test for that, hopefullly.
This has caused me a great deal of pain in the last week (was thinking it was a limitation on the Zuora side):
https://github.com/sportngin/active_zuora/blob/master/lib/active_zuora/fields/date_time_field.rb#L11-14
It should just use
%Y-%m-%dT%H:%M:%S-08:00. This will add the 00:00:00 Timestamp even if one doesn't exist, but at least it won't overwrite timestamps if they're provided.Also, usage startdatetime and enddatetime are good examples of user-set attributes that are not just dates, but a full timestamp.
I can submit a patch, but there are no tests for that stuff, so I will spend some time over the weekend adding a test for that, hopefullly.