- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2018 05:51 AM
Hi All,
On the service portal we user the OTTB 'ticket conversation' widget for our customers to view additional comments and add additional comments to open tickets.
currently when a comment is added the timestamp displays as time ago e.g. 2m ago, 5d ago etc
This works fine when the comments are recent e.g. couple of minutes or hours ago, but as time elapses it becomes less useful. Also when looking back at close logs it will say for example 3 months ago.
Instead we want this to display as a full date/time stamp in the format dd/mm/yyyy hh:mm:ss
How would we amend the widget for this?
Thanks
Sam
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2018 09:27 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2018 06:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2018 06:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2018 07:40 AM
Managed to replicate the above errors in a developer instance. Seems to be an issue with the OTTB 'ticket attachment' widget - raised a hi ticket on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2018 08:49 AM
Hi Mike,
Thanks for the above. Just tried this and not getting a full date/time rather than time ago which is great.
The date however is showing as yyyy/mm/dd
We need this to be dd/mm/yyyy.
For the second Highlighted section in your screenshot:
<sn-time-ago timestamp="data.created_on" />
i've seen the section in the server script and amended this to getDisplayValue :
however the first highlighted section in you screenshot uses e.sys_created_on.
I'm guessing I some how need to get this to get the display value as well, but not sure how to achieve this, any suggestions?
Thanks