[AC-1974] Cannot Query a custom object by date in Node ACS
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Not Our Bug |
Resolution Date | 2013-09-16T08:26:52.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Documentation, Titanium SDK & CLI |
Labels | date, node-acs, query |
Reporter | Tristan |
Assignee | Shak Hossain |
Created | 2013-09-16T07:27:45.000+0000 |
Updated | 2016-03-08T07:40:54.000+0000 |
Description
When Querying a custom object and one of the fields is a date field the following error occurs :
{ success: false,
error: true,
code: 400,
message: 'Error: Invalid timestamp: 2013-17-09T08:00:00+0000 for key: CompetitionStartDate' }
I think this is an error from a change because all of my older queries have just stopped working.
Regards
Tristan
Hello Tristan, Your date format is wrong. Currently, your date format looks like "yyyy-dd-mmThh:mm:ss+zzzz". But It should be look like "yyyy-mm-dd hh:mm:ss +zzzz" or "yyyy-mm-ddThh:mm:ss+zzzz". Please check your date format then it should be works again. For more information please visit following link: http://docs.appcelerator.com/cloud/latest/#!/api/CustomObjects Thanks
Closing this since we have not heard back from Tristan in a while.