elastic/kibana

[SR] App to use moment for formatting table dates

Open

#57,198 opened on Feb 10, 2020

View on GitHub
 (2 comments) (0 reactions) (0 assignees)TypeScript (8,021 forks)batch import
Feature:Snapshot and RestoreTeam:Kibana Managementbuggood first issuepapercut

Repository metrics

Stars
 (19,065 stars)
PR merge metrics
 (Avg merge 1d 16h) (999 merged PRs in 30d)

Description

The i18n component FormattedDateTime does not use the ui settings to format dates. It depends on the set i18n.locale setting for its formatting display.

We usually recommend using that for formatting relative time and some other cases. As for the SR table I think it is better to use moment formatting that adheres to the ui setting for date formatting.

image

Related PR: https://github.com/elastic/kibana/pull/40925

Contributor guide