elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.78k stars 8.19k forks source link

Util for formatting dates with prewired locale and advanced settings #180794

Open Dosant opened 6 months ago

Dosant commented 6 months ago

Describe the feature:

Currently there is no centralized and recommended way for date formatting. Apps use different methods like:

There're multiple things that have to be taken into account and have to be done ad-hoc now that leads to inconcistencies and larger developer effort:

Design considerations: (in my opionin)

Implementation ideas

Needed for

This ask came up multiple times in the past, but the latest ask was from the observability team @dgieselaar @spong

Related

https://github.com/elastic/kibana/issues/178115

elasticmachine commented 6 months ago

Pinging @elastic/appex-sharedux (Team:SharedUX)

vadimkibana commented 6 months ago

Discussed this with Kevin and added it to our prioritization board, currently this has 6mo horizon.