laravel / pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.
https://pulse.laravel.com
MIT License
1.47k stars 171 forks source link

[1.x] Format dates on graph updates #423

Closed timacdonald closed 16 hours ago

timacdonald commented 16 hours ago

We recently started formatting dates based on the browsers timezone.

The dates are all formatted on page load, however with the special update handling for the graphs, the dates for the graphs returns to unformatted UTC time.

This PR ensures that new dates received via polling requests are formatted as expected.

The queues card is already handled, as it has formatting implemented in a labels function, which is already called on each update.