question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Incorrect Message Time Reporting

See original GitHub issue

Screenshots

UML1

Version

Webchat CDN v4.6/latest

Browsers

Edge v44.18362.387.0 IE v11.418.18362.0 Firefox v70.0 Chrome v78.0.3904.87

Describe the bug

The message reported timing is not showing correctly.

To Reproduce

Steps to reproduce the behavior:

  1. Run the webchat.
  2. Make conversation history.
  3. Wait around 5 min (longer you wait grater would be the inconsistency).
  4. See the reported message time inconsistency.

Expected behavior

The earlier entered messages should have grater reporting time.

[Bug]

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
compulimcommented, Apr 2, 2020

This is the root cause. In Chrome:

// Given time t = 0
 
setTimeout(() => {
  console.log(Date.now());
}, 100);

The code above can sometimes print 99, instead of >= 100. And this is causing the timer not to be rescheduled, because the new scheduled time has not changed.

1reaction
benbrowncommented, Nov 26, 2019

@arman-g This is scheduled for our next release. Updates will be posted here!

Read more comments on GitHub >

github_iconTop Results From Across the Web

What to Say to an Employee Who Falsifies Their Time Card
How do you confront a worker whom you suspect has been falsifying time card data? What do you say to them? Confrontation can...
Read more >
The Sent time stamp on email messages is incorrect in ...
The Sent time stamp on email messages may be incorrect when you sign in to Outlook on the web (formally known as Microsoft...
Read more >
Wrong time on incoming texts | T-Mobile Community
The phone time is correct, the time zone is correct, and my outgoing messages have the correct time, only the incoming texts are...
Read more >
COMMON ERRORS IN KRONOS AND HOW TO FIX THEM
Incorrectly reporting leave time. Leave time must be reported using the Pay Code field in Kronos. Employees may use the comments feature to...
Read more >
Why do my incoming texts have the wrong time?
It actively corrects all timestamps to the correct time zone so that all SMS messages will be received as they should. 0. Comment...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found