opensearch-project / opensearch-project/security-analytics

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

Open
#1,079 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
111
Forks
111
Avg merge
1d 17h
Merged PRs (30d)
13

Description

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

  • OS: Debian 12
  • Version 12.14

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in the events and findings views with a locale using DD/MM/YY, then trace where the lefthand time-column date is rendered. Done means those dates follow the user's OpenSearch Dashboards localization time format instead of always using MM/DD/YY.

Written by the indexing model from the issue text.

Assessment

Domain
frontend, internationalization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.