Change the format of published and last modifed field in KB Portal

Sweta10122
Tera Contributor

Hi All,

I have a requirement where I need to show the last modified date and time and the published date of an article in knowledge portal in format YYYY-MM-DD HH:MM:SS. I have enabled the system properties "glide.knowman.search.show_last_modified" and "glide.knowman.search.show_published", but the way its getting displayed in portal is "1day ago" or "3 weeks ago" etc. How to change this format to YYYY-MM-DD?

Can anyone suggest me how to proceed?

Sweta10122_0-1699609523686.png

 

5 REPLIES 5

Thanks for replying, i have tried in pdi, so basically its getting reflected in sp portal, but i want this format to get updated in kb portal, which is not happening.In kb portal, the widget which is getting used is "Knowledge Result". I even got a script include 'KBPortalServiceImpl', but i am not sure what changes needs to be done there. So could suggest me anything like what should i do further?

Sweta1012_0-1699863238542.png