elastic/kibana

[SR] App to use moment for formatting table dates

Offen

#57.198 geöffnet am 10.02.2020

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (8.021 Forks)batch import
Feature:Snapshot and RestoreTeam:Kibana Managementbuggood first issuepapercut

Repository-Metriken

Stars
 (19.065 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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