Get format date setting of confluence

Hi everyone,
I’m currently developing a plugin for Confluence and ran into an issue: the date/time displayed in my plugin doesn’t match the format configured in the Confluence site settings.

Does anyone know if there’s a Confluence API that returns the site’s date format setting?


Any guidance or documentation link would be greatly appreciated. Thanks in advance!


Use history.lastUpdatedfriendlyWhen from API search cql get data can get the date format of confluence.