OpenCTI-Platform / opencti

Open Cyber Threat Intelligence Platform
https://opencti.io
Other
6.38k stars 943 forks source link

Make UI time format configurable #3046

Open ristowee opened 1 year ago

ristowee commented 1 year ago

Use case

The default time format in OpenCTI UI in English is 12h. The 24h format is available for some languages. However, some people are more used to 24h format even though they use English as the UI language.

The date format (NameOfMonth DD, YYYY) is easier to understand than the 12h time format but I'd appreciate if it could also be changed to e.g. DD-MM-YYYY or DD.MM.YYYY by some option.

Current Workaround

Proposed Solution

This seems to be done with a React module so unfortunately I have nothing to propose. It might be sufficient to be able to configure it with an environment variable or a configuration file at system level if it's difficult to configure it at user level, which would of course be preferable.

If the feature request is approved, would you be willing to submit a PR?

If it would need changes to the UI, most likely no.

SamuelHassine commented 1 year ago

For the team:

Be able to customize / overwrite the date / time formats with the same behaviour as the theme: