Problems with date conversion
Summary:
Content (required):
The oj-input-date component is delaying the date by one day in the view. The problem also occurs when I use the same component in a form to update records.
My time zone in Brazil is UTC-3
In the SDP object the information is correct:
When I view it in the table, there is a delay of 1 day:
Template I used in the table:
<template slot="efetivoDe">
<oj-input-date value='[[typeof $current.data === "string" ? $current.data : null]]'
converter='{"type": "datetime", "options": {"pattern":"dd/MM/yyyy"}}' readonly="true">
</oj-input-date>
</template>
How could I solve this problem?
Tagged:
0