Real-timing timestamps

  • Timestamps appear all over GitLab.
  • For example, a comment in an issue may say, @victorwu commented 2 minutes ago.
  • Often times we leave an issue open in the browser for hours, even days.
  • In GitLab, many UI elements are already real-time being loaded in. But the timestamps themselves are not changing. So in the example above, it should 3 minutes ago, and then 4 minutes ago, etc. over time.
  • How to implement this in a way that's not disruptive?
  • Some related discussion in this article cited by @sarrahvesselov: https://www.sitepoint.com/counting-the-ago-time-how-to-keep-publish-dates-fresh/
Assignee Loading
Time tracking Loading