Skip to content

Commit

Permalink
DatePicker: use "abbreviated" instead of "short" format for daynames
Browse files Browse the repository at this point in the history
Looks like old php 5 intl bundle doesn't contain the short format, but only the abbreviated one
  • Loading branch information
ctrlaltca committed Apr 2, 2019
1 parent e547f1a commit 756a7f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/Web/UI/WebControls/TDatePicker.php
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ protected function getCulturalOptions()
$info = $this->getLocalizedCalendarInfo();
$options['MonthNames'] = $info->findInfo('calendar/gregorian/monthNames/format/wide');
$options['AbbreviatedMonthNames'] = $info->findInfo('calendar/gregorian/monthNames/format/abbreviated');
$options['ShortWeekDayNames'] = $info->findInfo('calendar/gregorian/dayNames/format/short');
$options['ShortWeekDayNames'] = $info->findInfo('calendar/gregorian/dayNames/format/abbreviated');

return $options;
}
Expand Down

0 comments on commit 756a7f9

Please sign in to comment.