/webtrees/app/Date/ |
H A D | AbstractCalendarDate.php | 67 public int $month; variable in Fisharebest\\Webtrees\\Date\\AbstractCalendarDate 89 [$this->year, $this->month, $this->day] = $this->calendar->jdToYmd($date); 97 $this->month = static::MONTH_TO_NUMBER[$date[1]] ?? 0; 99 if ($this->month === 0) { 106 …if ($this->month === 6 && $this->calendar instanceof JewishCalendar && !$this->calendar->isLeapYea… 107 $this->month = 7; 122 $this->month = $date->month; 131 $this->month = 0; 141 …$jd = $date->calendar->ymdToJd($today[0], $date->month, $date->day === 0 ? $today[2] : $date->d… 146 [$this->year, $this->month, $this->day] = $this->calendar->jdToYmd($jd); [all …]
|
H A D | JewishDate.php | 128 * @param int $month 133 protected function monthNameNominativeCase(int $month, bool $leap_year): string argument 169 if ($month === 7 && $leap_year) { 174 return $translated_month_names[$month]; 180 * @param int $month 185 protected function monthNameGenitiveCase(int $month, bool $leap_year): string argument 221 if ($month === 7 && $leap_year) { 226 return $translated_month_names[$month]; 232 * @param int $month 237 protected function monthNameLocativeCase(int $month, bool $leap_year): string argument [all …]
|
H A D | HijriDate.php | 84 * @param int $month 89 protected function monthNameNominativeCase(int $month, bool $leap_year): string argument 123 return $translated_month_names[$month]; 129 * @param int $month 134 protected function monthNameGenitiveCase(int $month, bool $leap_year): string argument 168 return $translated_month_names[$month]; 174 * @param int $month 179 protected function monthNameLocativeCase(int $month, bool $leap_year): string argument 213 return $translated_month_names[$month]; 219 * @param int $month [all …]
|
H A D | JalaliDate.php | 81 * @param int $month 86 protected function monthNameNominativeCase(int $month, bool $leap_year): string argument 120 return $translated_month_names[$month]; 126 * @param int $month 131 protected function monthNameGenitiveCase(int $month, bool $leap_year): string argument 165 return $translated_month_names[$month]; 171 * @param int $month 176 protected function monthNameLocativeCase(int $month, bool $leap_year): string argument 210 return $translated_month_names[$month]; 216 * @param int $month [all …]
|
H A D | AbstractGregorianJulianDate.php | 81 * @param int $month 86 protected function monthNameNominativeCase(int $month, bool $leap_year): string argument 108 return $translated_month_names[$month]; 116 * @param int $month 121 protected function monthNameGenitiveCase(int $month, bool $leap_year): string argument 143 return $translated_month_names[$month]; 151 * @param int $month 156 protected function monthNameLocativeCase(int $month, bool $leap_year): string argument 178 return $translated_month_names[$month]; 186 * @param int $month [all …]
|
H A D | FrenchDate.php | 88 * @param int $month 93 protected function monthNameNominativeCase(int $month, bool $leap_year): string argument 130 return $translated_month_names[$month]; 136 * @param int $month 141 protected function monthNameGenitiveCase(int $month, bool $leap_year): string argument 177 return $translated_month_names[$month]; 183 * @param int $month 188 protected function monthNameLocativeCase(int $month, bool $leap_year): string argument 224 return $translated_month_names[$month]; 230 * @param int $month [all …]
|
/webtrees/tests/app/Factories/ |
H A D | CalendarDateFactoryTest.php | 43 static::assertSame(0, $date->month); 65 static::assertSame(0, $date->month); 77 static::assertSame(0, $date->month); 88 static::assertSame(1, $date->month); 99 static::assertSame(1, $date->month); 110 static::assertSame(0, $date->month); 121 static::assertSame(0, $date->month); 132 static::assertSame(2, $date->month); 143 static::assertSame(2, $date->month); 154 static::assertSame(2, $date->month); [all …]
|
/webtrees/app/Http/RequestHandlers/ |
H A D | CalendarPage.php | 61 $month = Validator::queryParams($request)->string('month', ''); 67 if ($cal . $day . $month . $year === '') { 76 $ged_date = new Date($cal . ' ' . $day . ' ' . $month . ' ' . $year); 86 if ($cal_date->month === 0) { 87 $cal_date->month = $today->month; 132 'month' => $month,
|
H A D | CalendarEvents.php | 71 $month = Validator::queryParams($request)->string('month'); 77 $ged_date = new Date($cal . ' ' . $day . ' ' . $month . ' ' . $year); 215 if ($d === $today->day && $cal_date->month === $today->month) {
|
/webtrees/resources/js/ |
H A D | webtrees.js | 389 let month = RegExp.$2 || 'JAN' 391 date = new Date(day + ' ' + month + ' ' + year); 496 function calSetDateField (dateFieldId, year, month, day) { argument 498 dateField.value = (day < 10 ? '0' : '') + day + ' ' + monthShort[month + 1] + ' ' + year; 521 let month = parseInt(monthSel.options[monthSel.selectedIndex].value, 10); 522 month = month - 1; 524 let date = new Date(yearInput.value, month, dateSel.options[dateSel.selectedIndex].value); 545 webtrees.calDateClicked = function (dateFieldId, dateDivId, year, month, day) { argument 546 calSetDateField(dateFieldId, year, month, day);
|
/webtrees/resources/lang/zh-Hans/ |
H A D | messages.po | 307 msgid "%s month" 1167 msgctxt "Abbreviation for Persian month: Aban" 1171 # I18N: 8th month in the Persian/Jalali calendar 1172 #. I18N: 8th month in the Persian/Jalali calendar 1178 # I18N: 8th month in the Persian/Jalali calendar 1179 #. I18N: 8th month in the Persian/Jalali calendar 1185 # I18N: 8th month in the Persian/Jalali calendar 1186 #. I18N: 8th month in the Persian/Jalali calendar 1192 # I18N: 8th month in the Persian/Jalali calendar 1193 #. I18N: 8th month in the Persian/Jalali calendar [all …]
|
/webtrees/resources/lang/zh-Hant/ |
H A D | messages.po | 306 msgid "%s month" 1166 msgctxt "Abbreviation for Persian month: Aban" 1170 # I18N: 8th month in the Persian/Jalali calendar 1171 #. I18N: 8th month in the Persian/Jalali calendar 1177 # I18N: 8th month in the Persian/Jalali calendar 1178 #. I18N: 8th month in the Persian/Jalali calendar 1184 # I18N: 8th month in the Persian/Jalali calendar 1185 #. I18N: 8th month in the Persian/Jalali calendar 1191 # I18N: 8th month in the Persian/Jalali calendar 1192 #. I18N: 8th month in the Persian/Jalali calendar [all …]
|
/webtrees/app/Module/ |
H A D | YahrzeitModule.php | 119 … if ($hd->day === 30 && $hd->month === 2 && $hd->year !== 0 && $hd1->daysInMonth() < 30) { 122 … } elseif ($hd->day === 30 && $hd->month === 3 && $hd->year !== 0 && $hd1->daysInMonth() < 30) { 125 …} elseif ($hd->day === 30 && $hd->month === 6 && $hd->year !== 0 && $today->daysInMonth() < 30 && …
|
/webtrees/resources/views/modules/timeline-chart/ |
H A D | chart.phtml | 294 $month = max(1, $date->month()); variable 298 $yoffset = $yoffset + $month / 12 * $scale;
|
/webtrees/app/Services/ |
H A D | CalendarService.php | 73 $calendar_date->month = $month_number; 293 …if (!$anniv instanceof JewishDate || in_array($anniv->month, [1, 5, 6, 9, 10, 11, 12, 13], true)) { 297 switch ($anniv->month) { 415 $query->where('d_mon', '=', $anniv->month());
|
/webtrees/resources/lang/sw/ |
H A D | messages.po | 295 msgid "%s month" 1086 msgctxt "Abbreviation for Persian month: Aban" 1090 #. I18N: 8th month in the Persian/Jalali calendar 1096 #. I18N: 8th month in the Persian/Jalali calendar 1102 #. I18N: 8th month in the Persian/Jalali calendar 1108 #. I18N: 8th month in the Persian/Jalali calendar 1159 #. I18N: a month in the Jewish calendar 1165 #. I18N: a month in the Jewish calendar 1171 #. I18N: a month in the Jewish calendar 1177 #. I18N: a month in the Jewish calendar [all …]
|
/webtrees/resources/lang/yi/ |
H A D | messages.po | 296 msgid "%s month" 1087 msgctxt "Abbreviation for Persian month: Aban" 1091 #. I18N: 8th month in the Persian/Jalali calendar 1097 #. I18N: 8th month in the Persian/Jalali calendar 1103 #. I18N: 8th month in the Persian/Jalali calendar 1109 #. I18N: 8th month in the Persian/Jalali calendar 1160 #. I18N: a month in the Jewish calendar 1166 #. I18N: a month in the Jewish calendar 1172 #. I18N: a month in the Jewish calendar 1178 #. I18N: a month in the Jewish calendar [all …]
|
/webtrees/resources/lang/tt/ |
H A D | messages.po | 284 msgid "%s month" 1069 msgctxt "Abbreviation for Persian month: Aban" 1073 #. I18N: 8th month in the Persian/Jalali calendar 1079 #. I18N: 8th month in the Persian/Jalali calendar 1085 #. I18N: 8th month in the Persian/Jalali calendar 1091 #. I18N: 8th month in the Persian/Jalali calendar 1142 #. I18N: a month in the Jewish calendar 1148 #. I18N: a month in the Jewish calendar 1154 #. I18N: a month in the Jewish calendar 1160 #. I18N: a month in the Jewish calendar [all …]
|
/webtrees/resources/lang/ms/ |
H A D | messages.po | 284 msgid "%s month" 1068 msgctxt "Abbreviation for Persian month: Aban" 1072 #. I18N: 8th month in the Persian/Jalali calendar 1078 #. I18N: 8th month in the Persian/Jalali calendar 1084 #. I18N: 8th month in the Persian/Jalali calendar 1090 #. I18N: 8th month in the Persian/Jalali calendar 1141 #. I18N: a month in the Jewish calendar 1147 #. I18N: a month in the Jewish calendar 1153 #. I18N: a month in the Jewish calendar 1159 #. I18N: a month in the Jewish calendar [all …]
|
/webtrees/resources/lang/bg/ |
H A D | messages.po | 295 msgid "%s month" 1086 msgctxt "Abbreviation for Persian month: Aban" 1090 #. I18N: 8th month in the Persian/Jalali calendar 1096 #. I18N: 8th month in the Persian/Jalali calendar 1102 #. I18N: 8th month in the Persian/Jalali calendar 1108 #. I18N: 8th month in the Persian/Jalali calendar 1159 #. I18N: a month in the Jewish calendar 1165 #. I18N: a month in the Jewish calendar 1171 #. I18N: a month in the Jewish calendar 1177 #. I18N: a month in the Jewish calendar [all …]
|
/webtrees/resources/lang/lv/ |
H A D | messages.po | 306 msgid "%s month" 1104 msgctxt "Abbreviation for Persian month: Aban" 1108 #. I18N: 8th month in the Persian/Jalali calendar 1114 #. I18N: 8th month in the Persian/Jalali calendar 1120 #. I18N: 8th month in the Persian/Jalali calendar 1126 #. I18N: 8th month in the Persian/Jalali calendar 1177 #. I18N: a month in the Jewish calendar 1183 #. I18N: a month in the Jewish calendar 1189 #. I18N: a month in the Jewish calendar 1195 #. I18N: a month in the Jewish calendar [all …]
|
/webtrees/resources/lang/mr/ |
H A D | messages.po | 295 msgid "%s month" 1086 msgctxt "Abbreviation for Persian month: Aban" 1090 #. I18N: 8th month in the Persian/Jalali calendar 1096 #. I18N: 8th month in the Persian/Jalali calendar 1102 #. I18N: 8th month in the Persian/Jalali calendar 1108 #. I18N: 8th month in the Persian/Jalali calendar 1159 #. I18N: a month in the Jewish calendar 1165 #. I18N: a month in the Jewish calendar 1171 #. I18N: a month in the Jewish calendar 1177 #. I18N: a month in the Jewish calendar [all …]
|
/webtrees/resources/lang/ne/ |
H A D | messages.po | 295 msgid "%s month" 1086 msgctxt "Abbreviation for Persian month: Aban" 1090 #. I18N: 8th month in the Persian/Jalali calendar 1096 #. I18N: 8th month in the Persian/Jalali calendar 1102 #. I18N: 8th month in the Persian/Jalali calendar 1108 #. I18N: 8th month in the Persian/Jalali calendar 1159 #. I18N: a month in the Jewish calendar 1165 #. I18N: a month in the Jewish calendar 1171 #. I18N: a month in the Jewish calendar 1177 #. I18N: a month in the Jewish calendar [all …]
|
/webtrees/resources/lang/mk/ |
H A D | messages.po | 300 msgid "%s month" 1091 msgctxt "Abbreviation for Persian month: Aban" 1095 #. I18N: 8th month in the Persian/Jalali calendar 1101 #. I18N: 8th month in the Persian/Jalali calendar 1107 #. I18N: 8th month in the Persian/Jalali calendar 1113 #. I18N: 8th month in the Persian/Jalali calendar 1164 #. I18N: a month in the Jewish calendar 1170 #. I18N: a month in the Jewish calendar 1176 #. I18N: a month in the Jewish calendar 1182 #. I18N: a month in the Jewish calendar [all …]
|
/webtrees/resources/lang/ko/ |
H A D | messages.po | 285 msgid "%s month" 1069 msgctxt "Abbreviation for Persian month: Aban" 1073 #. I18N: 8th month in the Persian/Jalali calendar 1079 #. I18N: 8th month in the Persian/Jalali calendar 1085 #. I18N: 8th month in the Persian/Jalali calendar 1091 #. I18N: 8th month in the Persian/Jalali calendar 1142 #. I18N: a month in the Jewish calendar 1148 #. I18N: a month in the Jewish calendar 1154 #. I18N: a month in the Jewish calendar 1160 #. I18N: a month in the Jewish calendar [all …]
|