Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1974] Cannot Query a custom object by date in Node ACS

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNot Our Bug
Resolution Date2013-09-16T08:26:52.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsDocumentation, Titanium SDK & CLI
Labelsdate, node-acs, query
ReporterTristan
AssigneeShak Hossain
Created2013-09-16T07:27:45.000+0000
Updated2016-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

Comments

  1. Mostafizur Rahman 2013-09-16

    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
  2. Shak Hossain 2013-12-18

    Closing this since we have not heard back from Tristan in a while.

JSON Source