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:
HolgerHatGarKeineNode
2025-11-23 19:21:19 +01:00
parent cdf8744883
commit ca9cd9b875
13 changed files with 134 additions and 20 deletions

View File

@@ -115,6 +115,12 @@ class extends Component {
</div>
</form>
<div>
<flux:heading size="lg" class="mb-4">{{ __('Zeitzone') }}</flux:heading>
<flux:subheading class="mb-6">{{ __('Wähle deine Zeitzone aus...') }}</flux:subheading>
<livewire:timezone.chooser :withRedirect="false"/>
</div>
<div class="my-8">
<flux:heading size="lg" class="mb-4">{{ __('Spracheinstellungen') }}</flux:heading>
<flux:subheading class="mb-6">{{ __('Wähle deine Sprache aus...') }}</flux:subheading>