Hi,
I have a document that is uploaded at Tue 26 Nov 2019 19:13:02 (As shown on Alfresco Share Screen), and in node browser we have the document created date as
cm:created | d:datetime | 26 Nov 2019 19:13:02 GMT-0500 (EST) |
So When im doing a AFTS with created date ,
cm:created:['2019-11-26T19:00:00' TO '2019-11-26T23:00:00']
i see No results (I'm on EST timezone)
even tried using AFTS serch from node browser i see No results, I tried using ReST API for Search Service forming something as below (added the timezone in localization to get results)
{"query": { "language":"afts", "query": "cm:created:['2019-11-26' TO '2019-11-26']"},"localization":{"timezone":"GMT+05:00"}}But if i use a query with 27-11-2019 (i.e the next day) i'm able to see the results
cm:created:['2019-11-27T00:13:00' TO '2019-11-27T01:00:00']
Kindly help me on how to form query in ReST Search API, without changing the created date.
and help me on how this localization in query working and how alfresco full text search works on timezones
Thanks in advance