recurring meetup events

This commit is contained in:
HolgerHatGarKeineNode
2023-02-07 15:18:47 +01:00
parent 5b475cc660
commit a93598ef2e
23 changed files with 502 additions and 36 deletions

View File

@@ -18,6 +18,17 @@ class Carbon extends CarbonImmutable
->format('H:i');
}
public function asDayNameAndMonthName(): string
{
$dt = $this->timezone(config('app.user-timezone'))->locale('de');
return sprintf("%s, %s. week of %s [%s]",
$dt->dayName,
$dt->weekNumberInMonth,
$dt->monthName,
$dt->timezoneAbbreviatedName
);
}
public function asDateTime(): string
{
$dt = $this->timezone(config('app.user-timezone'))->locale('de');