mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #81] The history doesn't show a date with the timestamp. #36
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#36
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:
Expected behavior
A clear representation of when exactly I executed the request.
Screenshots

Desktop (please complete the following information):
@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
@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.
@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?@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.