mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-app.git
synced 2025-12-18 13:04:24 +00:00
✨ Enhance timezone support across application
- Introduced a `SetTimezone` middleware to dynamically apply user-specific timezones. - Added a `timezone chooser` component for users to select their timezone. - Enhanced date and time display in views with `asDate`, `asTime`, and `asDateTime` methods. - Updated `AppServiceProvider` to leverage `preventLazyLoading` in local environments and set custom `Carbon` instance for dates. - Expanded configuration with `user-timezone`. - Integrated timezone support into meetups and events for consistent scheduling.
This commit is contained in:
@@ -215,12 +215,12 @@ class extends Component {
|
||||
@foreach($events as $event)
|
||||
<flux:card size="sm" class="h-full flex flex-col">
|
||||
<flux:heading class="flex items-center gap-2">
|
||||
{{ $event->start->format('d.m.Y') }}
|
||||
{{ $event->start->asDate() }}
|
||||
</flux:heading>
|
||||
|
||||
<flux:text class="mt-2 text-sm text-zinc-600 dark:text-zinc-400">
|
||||
<flux:icon.clock class="inline w-4 h-4"/>
|
||||
{{ $event->start->format('H:i') }} Uhr
|
||||
{{ $event->start->asTime() }} Uhr
|
||||
</flux:text>
|
||||
|
||||
@if($event->location)
|
||||
|
||||
Reference in New Issue
Block a user