Open patrickreiner opened 10 years ago
This has been an on-going issue and I always forget the overall resolution.
If you look in this issue: https://github.com/ruckus/quickeebooks/pull/87
and this one: https://github.com/ruckus/quickeebooks/issues/86
it seems like it boils down to how the Filter is created, either with Time.mktime
or using a DateTime
(maybe an ActiveSupport sub-class if in a Rails environment).
In #86 it looks like he is using Time.mktime
as well - but its not working for you(?)
The %Z in Quickeebooks::Shared::Service::Filter::DATE_TIME_FORMAT seems to be causing the following error:
IntuitRequestException: cvc-datatype-valid.1.2.1: '2013-09-04T16:52:30UTC' is not a valid value for 'dateTime'.
When I set the constant to '%Y-%m-%dT%H:%M:%S' it works fine. This is how I build my filters: