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.48k stars 173 forks source link

[1.x] Format dates to browsers timezone #417

Closed timacdonald closed 3 weeks ago

timacdonald commented 3 weeks ago

Currently, all dates are captured and presented in UTC time.

This PR introduces a front-end date format function to format all dates in the browsers current timezone.

Before:

Screenshot 2024-11-08 at 14 51 56 Screenshot 2024-11-08 at 14 51 04

After

Screenshot 2024-11-08 at 14 52 02 Screenshot 2024-11-08 at 14 51 26

fixes https://github.com/laravel/pulse/issues/410