name date/time styles

trogie - November 13, 2008 - 18:07
Project:Drupal
Version:6.x-dev
Component:system.module
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Hello,

In 'admin/settings/date-time' the date/time format are named 'short', 'medium' and 'long' while the $type parameter in the format_date function (http://api.drupal.org/api/function/format_date/6) are named 'small', 'medium' and 'large'. Subtile, i know, but it took me +3hrs to find the reason why my theming wasn't working today...
Probably it's better to change the names on the settings page to not brake any APIs.

 
 

Drupal is a registered trademark of Dries Buytaert.