Time Zone Issue

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Senior Member II

Time Zone Issue

I have created workflow where the problem is due date difference during selection of date and display of date.

Please check Attach Image.

Image 1 is showing selection of date.

Image 2 is showing display of Date.

Image 3 is showing API Response.

Thanks & Regard,
Sanjay
1 Reply
Highlighted
Senior Member II

Re: Time Zone Issue

Add below share side form configuration for the workflow due date field.

<field id="bpm:workflowDueDate" label-id="workflow.field.due" set="info">
        <control template="/org/alfresco/components/form/controls/date.ftl">
           <control-param name="showTime">false</control-param>
           <control-param name="submitTime">false</control-param>
        </control>
</field>

Marking submitTime as false will do the trick.