diff options
Diffstat (limited to 'app/Date/CalendarDate.php')
| -rw-r--r-- | app/Date/CalendarDate.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/app/Date/CalendarDate.php b/app/Date/CalendarDate.php index 9db4a8d2ff..42c1b0d73e 100644 --- a/app/Date/CalendarDate.php +++ b/app/Date/CalendarDate.php @@ -363,13 +363,13 @@ class CalendarDate { if ($translated_day_names === null) { $translated_day_names = array( - 0 => /* I18N: abbreviation for Monday */ I18N::translate('Mon'), - 1 => /* I18N: abbreviation for Tuesday */ I18N::translate('Tue'), + 0 => /* I18N: abbreviation for Monday */ I18N::translate('Mon'), + 1 => /* I18N: abbreviation for Tuesday */ I18N::translate('Tue'), 2 => /* I18N: abbreviation for Wednesday */ I18N::translate('Wed'), - 3 => /* I18N: abbreviation for Thursday */ I18N::translate('Thu'), - 4 => /* I18N: abbreviation for Friday */ I18N::translate('Fri'), - 5 => /* I18N: abbreviation for Saturday */ I18N::translate('Sat'), - 6 => /* I18N: abbreviation for Sunday */ I18N::translate('Sun'), + 3 => /* I18N: abbreviation for Thursday */ I18N::translate('Thu'), + 4 => /* I18N: abbreviation for Friday */ I18N::translate('Fri'), + 5 => /* I18N: abbreviation for Saturday */ I18N::translate('Sat'), + 6 => /* I18N: abbreviation for Sunday */ I18N::translate('Sun'), ); } @@ -453,7 +453,7 @@ class CalendarDate { $dm += $this->calendar->monthsInYear(); $dy--; } - // Not a full age? Then just the years + // Not a full age? Then just the years if (!$full) { return $dy; } @@ -525,7 +525,7 @@ class CalendarDate { return $this->calendar->daysInMonth($this->y, $this->m); } catch (\InvalidArgumentException $ex) { // calendar.php calls this with "DD MMM" dates, for which we cannot calculate - // the length of a month. Should we validate this before calling this function? + // the length of a month. Should we validate this before calling this function? return 0; } } @@ -781,7 +781,7 @@ class CalendarDate { /** * Generate the %y format for a date. * - * NOTE Short year is NOT a 2-digit year. It is for calendars such as hebrew + * NOTE Short year is NOT a 2-digit year. It is for calendars such as hebrew * which have a 3-digit form of 4-digit years. * * @return string @@ -840,7 +840,7 @@ class CalendarDate { } /** - * Which months follows this one? Calendars with leap-months should provide their own implementation. + * Which months follows this one? Calendars with leap-months should provide their own implementation. * * @return int[] */ |
