did you find a solution for this ?
My solution was easy but not nice. I find out that d:date property has internally also information about time. Search works as I expected when I set a value of hour in this property to more then 2.
So I created a rule which calls a js script after document creation or update. This script reads d:date property and sets its hour to value which works (I set value 9).
Can you share the js script code ? i'm a little slow with dates XD
I used this code:
var date = document.properties['myDoc:myDateProp']; if(date!=null){ date.setHours(9); document.properties['myDoc:myDateProp'] = date; document.save(); }
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.