Jacob Emerick blogged about “Fuzzy Timestamps” a while back. In his post he points out the differences between GitHub’s and Twitter’s implementation of fuzzy dates. Fuzzy dates are pretty common in social media and blogs. Instead of displaying an ugly timestamp, like “Posted: June 10th, 2014 21:16“, fuzzy dates are round numbers which are easier to read. For example, “Posted: 8 minutes ago“.
Sadly, Jacob didn’t include a code example of how he ended up implementing his livestream. So, I’ve come up with my own. This is my own mix of messages (seems to work well with the application it’s built for).