mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
recurring meetup events
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user