/webtrees/app/Date/ |
H A D | AbstractCalendarDate.php | 69 public int $day; variable in Fisharebest\\Webtrees\\Date\\AbstractCalendarDate 89 [$this->year, $this->month, $this->day] = $this->calendar->jdToYmd($date); 96 $this->day = (int) $date[2]; 100 $this->day = 0; 123 $this->day = $date->day; 132 $this->day = 0; 141 … = $date->calendar->ymdToJd($today[0], $date->month, $date->day === 0 ? $today[2] : $date->day); 146 [$this->year, $this->month, $this->day] = $this->calendar->jdToYmd($jd); 154 if ($date->day === 0) { 155 $this->day = 0; [all …]
|
H A D | JewishDate.php | 88 return (new JewishCalendar())->numberToHebrewNumerals($this->day, true);
|
/webtrees/resources/views/ |
H A D | calendar-page.phtml | 47 …<a <?= $d === $cal_date->day() ? 'class="error"' : '' ?> href="<?= e(route(CalendarPage::class, ['… 52 …<a href="<?= e(route(CalendarPage::class, ['cal' => $cal, 'day' => $today->day(), 'month' => $toda… 63 …<a href="<?= e(route(CalendarPage::class, ['cal' => $cal, 'day' => $cal_date->day(), 'month' => $m… 71 …<a href="<?= e(route(CalendarPage::class, ['cal' => $cal, 'day' => min($cal_date->day(), $today->d… 84 <input type="hidden" name="day" value="<?= e($cal_date->day()) ?>"> 90 …<a href="<?= e(route(CalendarPage::class, ['cal' => $cal, 'day' => $cal_date->day(), 'month' => $c… 96 …<a href="<?= e(route(CalendarPage::class, ['cal' => $cal, 'day' => $cal_date->day(), 'month' => $c… 100 …<a href="<?= e(route(CalendarPage::class, ['cal' => $cal, 'day' => $cal_date->day(), 'month' => $c… 116 <input type="hidden" name="day" value="<?= e($cal_date->day()) ?>"> 138 …href="<?= e(route(CalendarPage::class, ['cal' => $cal, 'day' => $cal_date->day(), 'month' => $cal_… [all …]
|
H A D | fact-date.phtml | 111 $death_day = $death_date->minimumDate()->day(); 112 $event_day = $date->minimumDate()->day();
|
/webtrees/tests/app/Factories/ |
H A D | CalendarDateFactoryTest.php | 44 static::assertSame(0, $date->day); 66 static::assertSame(0, $date->day); 78 static::assertSame(0, $date->day); 89 static::assertSame(1, $date->day); 100 static::assertSame(0, $date->day); 111 static::assertSame(0, $date->day); 122 static::assertSame(0, $date->day); 133 static::assertSame(0, $date->day); 144 static::assertSame(11, $date->day); 155 static::assertSame(0, $date->day); [all …]
|
/webtrees/app/Http/RequestHandlers/ |
H A D | CalendarPage.php | 60 $day = Validator::queryParams($request)->string('day', ''); 67 if ($cal . $day . $month . $year === '') { 76 $ged_date = new Date($cal . ' ' . $day . ' ' . $month . ' ' . $year); 83 if ($cal_date->day === 0) { 84 $cal_date->day = $today->day; 105 if ($cal_date->day > $days_in_month && $view === 'day') { 127 'day' => $day,
|
H A D | CalendarEvents.php | 70 $day = Validator::queryParams($request)->string('day'); 77 $ged_date = new Date($cal . ' ' . $day . ' ' . $month . ' ' . $year); 123 $cal_date->day = 0; 135 if ($tmp->day >= 1 && $tmp->day <= $tmp->daysInMonth()) { 215 if ($d === $today->day && $cal_date->month === $today->month) {
|
H A D | RedirectCalendarPhp.php | 47 $day = Validator::queryParams($request)->string('day', ''); 61 'day' => $day,
|
/webtrees/app/Services/ |
H A D | CalendarService.php | 72 $calendar_date->day = 1; 407 if ($anniv->day() === 1) { 409 } elseif ($anniv->day() === $anniv->daysInMonth()) { 412 $query->where('d_day', '=', $anniv->day()); 426 if ($anniv->day === 29 && $anniv->daysInMonth() === 29) { 447 if ($anniv->day() === 1 && $tmp->daysInMonth() === 29) { 455 } elseif ($anniv->day === 29 && $anniv->daysInMonth() === 29) { 475 if ($anniv->day === 1 && $tmp->daysInMonth() === 29) { 496 if ($anniv->day() === 1) { 498 } elseif ($anniv->day() === $anniv->daysInMonth()) { [all …]
|
H A D | RelationshipService.php | 435 …nDay() - $dob2->julianDay()) < 2 && $dob1->minimumDate()->day > 0 && $dob2->minimumDate()->day > 0… 456 …nDay() - $dob2->julianDay()) < 2 && $dob1->minimumDate()->day > 0 && $dob2->minimumDate()->day > 0… 477 …nDay() - $dob2->julianDay()) < 2 && $dob1->minimumDate()->day > 0 && $dob2->minimumDate()->day > 0…
|
H A D | GedcomImportService.php | 585 'd_day' => $date->minimumDate()->day, 598 'd_day' => $date->maximumDate()->day,
|
/webtrees/resources/js/ |
H A D | webtrees.js | 340 …n, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec, sun, mon, tue, wed, thu, fri, sat, day) { argument 361 if (day >= 0 && day < 7) { 362 weekStart = day; 388 let day = RegExp.$1 || '1'; 391 date = new Date(day + ' ' + month + ' ' + year); 455 let day = tdate.getDay(); 456 day = day - weekStart; 458 tdate = tdate.getTime() - (day * daymilli) + (daymilli / 2); 496 function calSetDateField (dateFieldId, year, month, day) { argument 498 dateField.value = (day < 10 ? '0' : '') + day + ' ' + monthShort[month + 1] + ' ' + year; [all …]
|
/webtrees/app/ |
H A D | Age.php | 56 if ($start->day() === 0 || $end->day() === 0) { 65 $this->is_exact = $start->day() !== 0 && $end->day() !== 0;
|
H A D | Relationship.php | 509 $date1->minimumDate()->day > 0 && 510 $date2->minimumDate()->day > 0;
|
H A D | Timestamp.php | 48 return gregoriantojd($this->carbon->month, $this->carbon->day, $this->carbon->year);
|
H A D | Date.php | 311 $tmp->date1->day = 0;
|
H A D | GedcomRecord.php | 711 $ymd = sprintf('%04d-%02d-%02d', $date->year(), $date->month(), $date->day());
|
/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 && …
|
H A D | TimelineChartModule.php | 253 $birthdays [$individual->xref()] = max(1, $date->day);
|
/webtrees/resources/views/modules/timeline-chart/ |
H A D | chart.phtml | 295 $day = max(1, $date->day()); variable 299 $yoffset = $yoffset + $day / 30 * ($scale / 12);
|
/webtrees/resources/css/ |
H A D | colors.css | 290 .menu-calendar-day::before {
|
/webtrees/resources/lang/zh-Hans/ |
H A D | messages.po | 166 # I18N: This is the format string for the time-of-day. See http://php.net/date for codes 167 #. I18N: This is the format string for the time-of-day. See https://php.net/date for codes 241 msgid "%s day" 861 # I18N: Description of the “On this day” module 862 #. I18N: Description of the “On this day” module 3701 msgid "Changes in the last %s day" 5346 # I18N: The tenth day in the French republican calendar 5347 #. I18N: The tenth day in the French republican calendar 5807 # I18N: The second day in the French republican calendar 5808 #. I18N: The second day in the French republican calendar [all …]
|
/webtrees/resources/lang/zh-Hant/ |
H A D | messages.po | 165 # I18N: This is the format string for the time-of-day. See http://php.net/date for codes 166 #. I18N: This is the format string for the time-of-day. See https://php.net/date for codes 240 msgid "%s day" 860 # I18N: Description of the “On this day” module 861 #. I18N: Description of the “On this day” module 3697 msgid "Changes in the last %s day" 5341 # I18N: The tenth day in the French republican calendar 5342 #. I18N: The tenth day in the French republican calendar 5801 # I18N: The second day in the French republican calendar 5802 #. I18N: The second day in the French republican calendar [all …]
|
/webtrees/resources/lang/tr/ |
H A D | messages.po | 151 #. I18N: This is the format string for the time-of-day. See https://php.net/date for codes 222 msgid "%s day" 815 #. I18N: Description of the “On this day” module 3434 msgid "Changes in the last %s day" 5003 #. I18N: The tenth day in the French republican calendar 5420 #. I18N: The second day in the French republican calendar 7748 …s between sunset and midnight, the conversion between these types of calendar will be one day out." 10268 msgid "No events exist for the next %s day." 10291 msgid "No events for living people exist for the next %s day." 10395 #. I18N: The ninth day in the French republican calendar [all …]
|
/webtrees/resources/lang/en-GB/ |
H A D | messages.po | 152 #. I18N: This is the format string for the time-of-day. See https://php.net/date for codes 223 msgid "%s day" 225 msgstr[0] "%s day" 816 #. I18N: Description of the “On this day” module 3435 msgid "Changes in the last %s day" 3437 msgstr[0] "Changes in the last %s day" 5004 #. I18N: The tenth day in the French republican calendar 5421 #. I18N: The second day in the French republican calendar 7749 …s between sunset and midnight, the conversion between these types of calendar will be one day out." 7750 …s between sunset and midnight, the conversion between these types of calendar will be one day out." [all …]
|