'label' => _("Locale and Time"),
'desc' => _("Set your preferred language, timezone and date preferences."),
'members' => array(
- 'language', 'timezone', 'twentyFour', 'date_format', 'first_week_day'
+ 'language', 'timezone', 'twentyFour', 'date_format',
+ 'date_format_mini', 'first_week_day'
)
);
'%x' => strftime('%x'),
'%Y-%m-%d' => strftime('%Y-%m-%d'),
'%d/%m/%Y' => strftime('%d/%m/%Y'),
- '%A %B %d, %Y' => strftime('%A %B %d, %Y'),
+ '%A, %B %d, %Y' => strftime('%A, %B %d, %Y'),
'%A, %d. %B %Y' => strftime('%A, %d. %B %Y'),
'%A, %d %B %Y' => strftime('%A, %d %B %Y'),
'%a, %b %e, %Y' => strftime('%a, %b %e, %Y'),
'%e. %B %y' => strftime('%e. %B %y'),
'%B %e, %Y' => strftime('%B %e, %Y'),
),
- 'desc' => _("Choose how to display dates:"),
+ 'desc' => _("Choose how to display dates (full format):"),
+);
+
+// date format (miniature)
+$_prefs['date_format_mini'] = array(
+ 'value' => '%x',
+ 'shared' => true,
+ 'type' => 'enum',
+ 'enum' => array(
+ '%x' => strftime('%x'),
+ '%Y-%m-%d' => strftime('%Y-%m-%d'),
+ '%d/%m/%Y' => strftime('%d/%m/%Y'),
+ '%a, %b %e, %Y' => strftime('%a, %b %e, %Y'),
+ '%a, %b %e, %y' => strftime('%a, %b %e, %y'),
+ '%a, %b %e' => strftime('%a, %b %e'),
+ '%a, %e %b %Y' => strftime('%a, %e %b %Y'),
+ '%a, %e %b %y' => strftime('%a, %e %b %y'),
+ '%a %d %b %Y' => strftime ('%a %d %b %Y'),
+ '%a %x' => strftime ('%a %x'),
+ '%a %Y-%m-%d' => strftime ('%a %Y-%m-%d'),
+ '%e %b %Y' => strftime('%e %b %Y'),
+ '%e. %b %Y' => strftime('%e. %b %Y'),
+ '%e. %m %Y' => strftime('%e %m %Y'),
+ '%e. %m.' => strftime('%e. %m.'),
+ '%b %e, %Y' => strftime('%b %e, %Y'),
+ ),
+ 'desc' => _("Choose how to display dates (abbreviated format):"),
);
// what day should be displayed as the first day of the week?