opensearch-project / security-analytics

Security Analytics enables users for detecting security threats on their security event log data. It will also allow them to modify/tailor the pre-packaged solution.
Apache License 2.0
71 stars 72 forks source link

[BUG] Date shown for events in alerts and findings is not in the user's local format #1079

Open tomuk5 opened 3 months ago

tomuk5 commented 3 months ago

The date shown for events in alerts and findings is not in the user's local format - eg its always in format MM/DD/YY regardless of the users settings.

Steps to reproduce the behavior: Open the events or findings view and observe the date shown in the lefthand time column for an event or finding is always in the format MM/DD/YY - even when the user has set DD/MM/YY in their localisation settings for OpenSearch Dashboards.

The expected behaviour is that Security Analytics should respect the time format set by the users localisation settings.

Environment

dblock commented 2 months ago

[Catch All Triage, attendees 1, 2, 3, 4, 5, 6, 7]

Thanks for opening this, it makes sense. Want to try to contribute formatting of dates in some standard general format (e.g. year-month-day) or the user's?