How to change moment.js in Kibana?

I would like to change language for Duration in readable format.

I have scripted fields. The scripted fields calculate duration. When i show the duration to clients, appear the label to screen 10 hours ago, 15 hours ago etc.
When i look the source code of kibana, i saw that the kibana use moment.js for calculation duration.
I would like to change 10 hours ago label to another language.
Moment.js support a lot of languages.
Is it possible to change moment.js file for kibana and how?

If you have another solutions for this issue, you may explain it.

Thanks.

Hi @eniserkaya,

Have you tried going to "Stack Management" -> "Advanced Settings" and changing the locale under "Formatting locale"?

Hi,

Unfourtunately, it is just about to number format.
For example, if the format is en, the number shows 4.1
if the format is TR, the number shows 4,2.
There is no affact to duration label.
Thanks.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.