CMS Development

JLanfear
Member

Date Content Field

SOLVE

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 Upvotes
1 Accepted solution
JLanfear
Solution
Member

Date Content Field

SOLVE

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.

 

View solution in original post

1 Reply 1
JLanfear
Solution
Member

Date Content Field

SOLVE

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.