
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-16-2018 07:01 AM
Hi,
I need to change the display in the service portal from 'X days ago' to the actual date time stamp. This is populated in quite a few OOB widgets and i know i need to clone them and edit the HTML just not sure what too.
Thanks
Solved! Go to Solution.
- Labels:
-
Incident Management
-
Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-16-2018 08:39 AM
Hi Mike that has worked thanks.
Im trying to change in another widget, Approval record, which we have already edited but cannot see anything relating to date field.
id also like to remove the 'additonal comment' when comment added if possible.
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-16-2018 07:06 AM
you can change <sn-time-ago timestamp="::field.value" />
to
<sn-time-ago timestamp="::field.display_value" />

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-16-2018 08:39 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-16-2018 08:49 AM
you will have to edit ticket conversations widget that is on that page. Where you find
<sn-time-ago timestamp="::e.sys_created_on" />
change it to
<sn-time-ago timestamp="{{data.sys_created_on}}" />

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-16-2018 09:07 AM