Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: See the distribution for different timezones. #8

Closed
dmitry-buzzwoo opened this issue Oct 30, 2024 · 1 comment
Closed
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@dmitry-buzzwoo
Copy link
Collaborator

It would be cool to have a selectbox where you can choose a timezone. The chart will show the info based on the chosen timezone.
It would be also cool to be able to configure the timezones you want to be available in this selectbox.

@abbasudo abbasudo added enhancement New feature or request help wanted Extra attention is needed labels Oct 30, 2024
@dmitry-buzzwoo
Copy link
Collaborator Author

dmitry-buzzwoo commented Oct 31, 2024

I've created a pull request that implements this feature.
The number of the timezones can be configured in the pulse.php config:

    /*
     * The timezone to be available in the select dropdown of the usage hours card.
     */
    'usage_hours' => [
        'timezones' => [
            'UTC',
            'Europe/Berlin',
            'Asia/Bangkok',
        ],
    ],

ScreenRecording2024-10-31at12-ezgif com-speed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants