elastic/kibana

[SR] App to use moment for formatting table dates

Open

#57.198 aperta il 10 feb 2020

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)TypeScript (8021 fork)batch import
Feature:Snapshot and RestoreTeam:Kibana Managementbuggood first issuepapercut

Metriche repository

Star
 (19.065 star)
Metriche merge PR
 (Merge medio 1g 16h) (999 PR mergiate in 30 g)

Descrizione

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

Guida contributor