File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
client/src/components/notifications Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2121 - Added data sampling for multi-day views to get a more representative sample across the full time range
2222 - Increased record limit for multi-day views to provide better data coverage
2323 - Enhanced logging for better troubleshooting of time filter issues
24+ - Fixed notification history timestamps to match the timezone shown on the dashboard:
25+ - Updated date formatting in NotificationHistory component to use consistent formatting options
26+ - Ensured consistent date display format across the application
2427
2528### Improved
2629- Simplified battery history implementation:
Original file line number Diff line number Diff line change @@ -48,7 +48,12 @@ const NotificationHistory = () => {
4848 // Helper function to format date
4949 const formatDate = ( dateString ) => {
5050 const date = new Date ( dateString ) ;
51- return date . toLocaleString ( ) ;
51+ return date . toLocaleString ( [ ] , {
52+ month : 'short' ,
53+ day : 'numeric' ,
54+ hour : '2-digit' ,
55+ minute : '2-digit'
56+ } ) ;
5257 } ;
5358
5459 if ( loading ) {
You can’t perform that action at this time.
0 commit comments