CMS Development

JLanfear
Membro

Date Content Field

resolver

Hi,

 

I am having a slight issue with the date field when making a module.

 

See the code below,

JLanfear_2-1625138483154.png

 

When using the date field I am getting this in return;

JLanfear_1-1625138227730.png

I am not sure why the time of 00:00:00 is showing, but I don't want it to show, any help with this issue would be appreciated. Thank you!

0 Avaliação positiva
1 Solução aceita
JLanfear
Solução
Membro

Date Content Field

resolver

Fixed the issue.

 

I simply added |datetimeformat onto the end of my date_field which got rid of the time and displayed by date in a more readable way.

 

Exibir solução no post original

1 Resposta 1
JLanfear
Solução
Membro

Date Content Field

resolver

Fixed the issue.

 

I simply added |datetimeformat onto the end of my date_field which got rid of the time and displayed by date in a more readable way.