Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
36046 Visualizações

Hello All

I need to change specific date field from YYYY/MM/DD To DD/MM/YYYY

One field only not all the fields format.

Please help

Avatar
Cancelar
Melhor resposta

I think you can pass the format option on XML field definition 


<field name="start_date" options="{'format': 'DD/MM/YYYY'}"/>

ref:  you can use any momentjs fromat \https://momentjs.com




Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
4
ago. 24
78850
0
mai. 24
2316
1
dez. 19
10196
2
jul. 17
4353
1
mai. 16
5015