Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The history doesn't show a date with the timestamp. #81

Closed
iruoy opened this issue Aug 28, 2019 · 4 comments
Closed

The history doesn't show a date with the timestamp. #81

iruoy opened this issue Aug 28, 2019 · 4 comments
Labels
discussion Talking over coding

Comments

@iruoy
Copy link

iruoy commented Aug 28, 2019

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
@iruoy
Copy link
Author

iruoy commented 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

@NBTX
Copy link
Contributor

NBTX commented 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.

@izerozlu
Copy link
Contributor

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

@liyasthomas
Copy link
Member

liyasthomas commented 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.

@liyasthomas liyasthomas added the discussion Talking over coding label Aug 28, 2019
AndrewBastin pushed a commit that referenced this issue Apr 11, 2023
* chore: added global lint and test commands to backend package

* chore: removed lint command from root scope execution
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Talking over coding
Projects
None yet
Development

No branches or pull requests

4 participants