You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by Eduardo Fontes <ed...@gmail.com> on 2025/04/03 19:51:26 UTC

Localized Date Formar in UI

Hi all,

I hope this message finds you well.

I was wondering if there is a way to localize the date format in the NiFi
UI. Currently, the provenance displays the date in the English (EN) format:

mm/dd/yyyy HH:MM:SS.SSS TZ

It would be great if it could appear in the Brazilian format:

dd/mm/yyyy HH:MM:SS.SSS TZ

I have tried the following JVM arguments:

-Duser.country=BR
-Duser.language=pt

As well as these environment variables:

LANG=pt_BR.UTF-8
LANGUAGE=pt_BR:pt

Unfortunately, none of these methods seem to work.

Do you have any suggestions or guidance on how to achieve this?

Thank you in advance for your support!

Best regards,

Eduardo Fontes

Re: Localized Date Formar in UI

Posted by Marton Szasz <sz...@apache.org>.
Hi,

On the env var side, I'd try LC_ALL or LC_TIME=pt_BR.utf8 or 
pt_BR.UTF-8. These are supposed to change the general libc locale or the 
date/time locale respectively at least on Linux, but I don't know how 
well this translates to Java and the NiFi UI.

Cheers,
Marton

On 4/3/25 9:51 PM, Eduardo Fontes wrote:
> Hi all,
>
> I hope this message finds you well.
>
> I was wondering if there is a way to localize the date format in the NiFi
> UI. Currently, the provenance displays the date in the English (EN) format:
>
> mm/dd/yyyy HH:MM:SS.SSS TZ
>
> It would be great if it could appear in the Brazilian format:
>
> dd/mm/yyyy HH:MM:SS.SSS TZ
>
> I have tried the following JVM arguments:
>
> -Duser.country=BR
> -Duser.language=pt
>
> As well as these environment variables:
>
> LANG=pt_BR.UTF-8
> LANGUAGE=pt_BR:pt
>
> Unfortunately, none of these methods seem to work.
>
> Do you have any suggestions or guidance on how to achieve this?
>
> Thank you in advance for your support!
>
> Best regards,
>
> Eduardo Fontes