Change time "ago" on Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2017 04:55 AM
Hi guys! 🙂
In the ticket-widget'en on the Service Portal (Helsinki), ServiceNow will show date/times as "ago" (and it doesn't matter what the user-preferences are: calender, ago or both)
If you move the mouse over "6 min ago", ServiceNow will actually show the date+time:
In the ticket-conversions widget (HTML-part) it show the "sn-time-ago timestamp".
Of course I can clone the widget and change that part, but to what?
Thanks
Soren

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-25-2020 02:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2020 06:47 PM
I haven't worked on that widget functionality yet. However, these two threads look feasible.
https://community.servicenow.com/community?id=community_question&sys_id=98f3662cdb5ee3002e8c2183ca96197e&anchor=answer_d6a55a69db12a34011762183ca9619b3&view_source=searchResult
I found this excerpt " i comment the " <!--<sn-time-ago timestamp="::mi.sys_updated_on" /> --> and replaced with {{::mi.sys_updated_on }} " a good place to start.
and this is great, too. https://community.servicenow.com/community?id=community_question&sys_id=08456ea81b2b9494d2ccea89bd4bcbcc&view_source=searchResult