[GH-ISSUE #81] The history doesn't show a date with the timestamp. #36

Closed
opened 2026-03-16 12:53:18 +03:00 by kerem · 4 comments
Owner

Originally created by @iruoy on GitHub (Aug 28, 2019).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/81

Describe the bug
The history doesn't show a date with the timestamp.

To Reproduce
Steps to reproduce the behavior:

  1. Send a request
  2. Send another request a day later
  3. Scroll down to History
  4. There's no distinction between the 2 entries

Expected behavior
A clear representation of when exactly I executed the request.

Screenshots
Screen Shot 2019-08-28 at 13 23 27

Desktop (please complete the following information):

  • OS: MacOS Mojave 10.14.6
  • Browser: Firefox 68.0.2
  • Version: up-to-date master
Originally created by @iruoy on GitHub (Aug 28, 2019). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/81 **Describe the bug** The history doesn't show a date with the timestamp. **To Reproduce** Steps to reproduce the behavior: 1. Send a request 2. Send another request a day later 3. Scroll down to History 4. There's no distinction between the 2 entries **Expected behavior** A clear representation of when exactly I executed the request. **Screenshots** ![Screen Shot 2019-08-28 at 13 23 27](https://user-images.githubusercontent.com/5859352/63851792-1faa2600-c997-11e9-88a5-27a2dc3064c2.png) **Desktop (please complete the following information):** - OS: MacOS Mojave 10.14.6 - Browser: Firefox 68.0.2 - Version: up-to-date master
kerem 2026-03-16 12:53:18 +03:00
Author
Owner

@iruoy commented on GitHub (Aug 28, 2019):

I'd like to suggest we show the time since execution.
For example: "23 minutes ago" , "6 hours ago", "2 days ago"

We lose some precision by this, but we can show the actual datetime on hover maybe

<!-- gh-comment-id:525703382 --> @iruoy commented on GitHub (Aug 28, 2019): I'd like to suggest we show the time since execution. For example: "23 minutes ago" , "6 hours ago", "2 days ago" We lose some precision by this, but we can show the actual datetime on hover maybe
Author
Owner

@NBTX commented on GitHub (Aug 28, 2019):

We can use moment.js and I think showing the true date/time is a good idea but, to be honest, it's probably not very helpful after more than 5 minutes have passed.

That said, we could just add an option in settings to toggle between showing absolute and relative times.

<!-- gh-comment-id:525709056 --> @NBTX commented on GitHub (Aug 28, 2019): We can use moment.js and I think showing the true date/time is a good idea but, to be honest, it's probably not very helpful after more than 5 minutes have passed. That said, we could just add an option in settings to toggle between showing absolute and relative times.
Author
Owner

@izerozlu commented on GitHub (Aug 28, 2019):

I'm with the @NBTX on this. Showing date might not be that useful.
Maybe we can show the date on a hover?

<!-- gh-comment-id:525710274 --> @izerozlu commented on GitHub (Aug 28, 2019): I'm with the @NBTX on this. Showing date might not be that useful. Maybe we can show the date on a `hover`?
Author
Owner

@liyasthomas commented on GitHub (Aug 28, 2019):

Confession: It's been 4 years since I've have been using JS, still I Google "get local time in javascript" 🤦‍♂️

My current implementation is prolly a hacky one.

<!-- gh-comment-id:525710683 --> @liyasthomas commented on GitHub (Aug 28, 2019): Confession: It's been 4 years since I've have been using JS, still I Google `"get local time in javascript"` :man_facepalming: My current implementation is prolly a hacky one.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#36
No description provided.