Listing SoftLayer invoice greater than a date and time -


i have softlayer invoice has "createdate" value of "2016-08-23t14:21:29-05:00". (** note 5 hour offset).

i use softlayer_account::getinvoices() api object filter set below:

$filter = new stdclass(); $filter->invoices = new stdclass(); $filter->invoices->createdate = new stdclass(); $filter->invoices->createdate->operation = 'greaterthandate'; $filter->invoices->createdate->options = array(); $filter->invoices->createdate->options[0] = new stdclass(); $filter->invoices->createdate->options[0]->name = 'date'; $filter->invoices->createdate->options[0]->value = array($searchdatetime->format('m/d/y h:i:s')); $slclient->setobjectfilter($filter); $result = $slclient->getinvoices(); 

it used date specify in query, can add 5 hour time offset date , time shown in createdate , still invoice. (i.e. query dates greater "2016-08-23t19:21:00" , invoice "createdate" value of "2016-08-23t14:21:29-05:00" included in result).

but noticed starting 8/22/2016, have subtract 5 hour time offset usual query date , time in order same invoice show in result. (i.e. have query dates greater "2016-08-23t14:21:00" in order invoice "createdate" value of "2016-08-23t14:21:29-05:00" included in result.

do see difference? hope being clear description of behavior change.
have use createdate date , time value ignoring time offset value vs. before had consider time offset value.

is bug? or permanent change?

i did tests , able reproduce issue, seems bug, submit ticket? anyway, continue investigating this. let know news.


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -