There is not standard datashort format, d.m.Y (e.g. 24.12.2004).
Just add new $dateshort type in system.module:

$dateshort = 
...
 "d.m.Y - H:i" => "d.m.Y - H:i")

Tomas

Comments

tostinni’s picture

This is still needed, we don't have any date only format.

forngren’s picture

Version: 4.5.0 » x.y.z

Still needed.

greggles’s picture

What's the use case for this? There is already a short date/time format that is similar. When do you need to show the date without the time?

Also, wouldn't it be better to just add an options in "short date formats" to include this one?

forngren’s picture

Sometimes there's no need to show the exact time, but just a simple date would be nice. I agree with you that it should be added in "short date formats".

Rosamunda’s picture

I agree with you. There are cases when this stuff is very useful.

greggles’s picture

"sometimes" and "there are cases" does not make a use case. Without a use case it's impossible to propose a good solution.

Once this format is created, where would these dates be used or not? Is that just up to the theme?

forngren’s picture

My global news, for example, don't need an exact timestamp and I think it would look a bit nicer without it.

Acctually, it would be nice if Drupal could support any combination of the PHP date syntax (http://php.net/date).

forngren’s picture

Version: x.y.z » 6.x-dev
Status: Active » Closed (duplicate)