Recent searches


No recent searches

About the timestamp on ticket comments



Posted Oct 01, 2021

The day of week (or "today", "yesterday") of the timestamp shown on the upper right corner of ticket comments sometimes don't show correctly.

For more details, we posted a comment on a ticket on Wednesday and when we checked the same comment on Friday around 8:30AM (in Japan time), we found out that it said "Yesterday" in the timestamp.
Later, after 9:00AM, it changed to "Wednesday"  and we are wondering why.

In the answer of the following post, it says "The agent UI is designed to convert the hardcoded UTC timestamp to the user's current time zone."
Why don't timestamps in the agent interface always match the UTC timestamp?
Considering the fact mentioned above, we assume that Zendesk updates timestamp UI at 0AM in UTC (9AM in Japan time).

However, there are possibilities that this design can cause a confusion while responding to user inquiries.
We would like to ask you to fix this so the timestamp UI gets updated in user's time zone.


7

7

7 comments

image avatar

Jonathan March

Community Moderator

For teams spanning multiple timezones, who have to communicate with each other (including at times sharing copy/pasted ticket comments), the only workable rendering of timestamps is in UTC.

E.g.  right now: Fri 2021-10-01 14:48 UTC

Please make this an option.

 

 

2


I sent an inquiry about this matter to the technical support in japan and they fixed it.

0


We recently changed time zone, our clocks moving forward 1 hour from GMT+10 to GMT+11 as we start Daylight Savings time.

While providing RCA for a critical incident that occurred before daylight saving changed, we noticed an anomaly with Zendesk times not matching those of Gmail and Slack. While Gmail and Slack showed the timestamps accurately, Zendesk was showing a 1 hour difference (+1 hour).

I then learned that Zendesk records ticket times in UTC and converts to the current time zone setting when viewing, rather than the time zone at the time of the event. 

This means we cannot reliably use Zendesk for creating an accurate time line of events because we would have to check if the event occurred in or outside of daylight savings. I find this quite incredible from a world class Support tool and does not align to expectation.

I would like to see Zendesk change this 'expected behaviour' so the 'issue' is fixed.

See: https://support.zendesk.com/hc/en-us/articles/4408833830298-Why-don-t-timestamps-in-the-agent-interface-always-match-the-UTC-timestamp-


This is expected behavior and the issue only exists within the agent UI in Support. It is not present in the API which uses the hardcoded UTC timestamp or reporting which maintains the correct historical timestamp.

5


+1 ing above comment from Martin. Our team often reviews tickets related to past weeks, and this causes a lot of confusion in weeks after daylight savings time. The product should be able to identify the actual time of day at the date in question, based on the timezone, rather than the UTC timestamp shown at the current timezone setting. 

5


It has been queried from an audit perspective that timestamps change after daylight saving time etc. Has it been considered to hardcode the timestamps on tickets? For audit purpose, an auditor will want to see the actual date/time a note is added to a ticket, especially those of a higher priority. The timestamp should be the same no matter what time of year it is. 

0


I'm trying to build an app to literally just put the UTC timestamp of ticket creation in the sidebar but I'm getting stumped because it's getting converted to the user's time. Can Zendesk offer any help as to how to get at the UTC time? (I'll happily share my code with the community when it works! :D) 

Edit: I cracked it finally, it's uh, actually super simple. this assumes you have a span called "time" in there you want to show the time the ticket was created at: 

  async function displayCreatedTime() {
    const response = await client.get('ticket.createdAt');
    const time = response['ticket.createdAt'];
    const event = new Date(time);
    const utctime = event.toUTCString();
    console.log(utctime);

    const span = document.getElementById("time");
    span.innerText = utctime;
  }
displayCreatedTime();



0


image avatar

Amisha Sharma

Zendesk Product Manager

Hey everyone, thank you for taking the time to provide us with this feedback. We apologize for the delay on our end in providing you with a response to your feature request.

We wanted to let you know that at this time we are not able to commit to building this feature. We understand this may be frustrating but wanted to ensure we closed this loop to remain transparent.

At this time we are going to close this post for comment and mark it as “not planned”. If you are interested in learning more about this and other features being built please make sure to check out and follow our Community events, What’s New Community Topic, and Zendesk Updates. Again, we apologize for our delay and appreciate you being a valuable Zendesk Community member.

0


Post is closed for comments.

Didn't find what you're looking for?

New post