Skip to content

Locale and Timezone #32

Answered by saade
invaders-xx asked this question in Q&A
Discussion options

You must be logged in to vote

You can override the getConfig method and override the configuration you need.

public function getConfig(): array
    {
        return array_merge(parent::getConfig(), [
            'timeZone' => auth()->user()->timezone, // or similar
        ]);
    }

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by invaders-xx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants