Drupal 6: date module and display only DATE without TIME

I'm a new drupal

I use the http://drupal.org/project/date module for the date of my events, but this module displays TIME as well as the default value, and I cannot turn on what from the configuration pages, if I'm not blind: / is there any way show only DATE value?

Valuing helps! Thank you so much!

+3
source share
2 answers

You need to add a new date and time format that defines only the date in the Administration> Site Configuration> Date and Time> Formats> Add Format (relative path is / admin / settings / date-time / formats / add).

Here are some popular types of date formats according to PHP date format characters :
m/d/Ybecomes 06/22/2010
l, F j, Ybecomes Tuesday, June 22, 2010

You can either set one of three default format types (for example, long, medium or short) to use your own format, or you can add a new format type. In any case, you just need to specify a date field to use the type of format that is set in your custom date format.

+2
source

. , Date - ( Drupal 5, Drupal 6, AFAIK).

0

Source: https://habr.com/ru/post/1751099/


All Articles