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
Fix: proper sorting resources by age column #2182
Conversation
- use Date.now() instead of new Date().getTime() (#2141 follow-up) Signed-off-by: Roman <ixrock@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very good work, except one thing.
Signed-off-by: Roman <ixrock@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You missed cronjobs.
Also, you could replace the new Date().getTime()
calls in src/renderer/utils/__test__/formatDuration.test.ts
too :)
Signed-off-by: Roman <ixrock@gmail.com>
@Nokel81 @jim-docker please re-review. |
@lensapp/lens-maintainers anybody can spot the issue why integration tests could be failed?
UPD: all fine for now, good-old restart did the job :) |
sorting resources by age in cluster-issues is broken (previously sorted by iso-string timestamp)
sorting resources by age in cluster-issues is broken (previously sorted by iso-string timestamp) Signed-off-by: MinJeong Kim <min7859@gmail.com>
sorting resources by age in cluster-issues is broken (previously sorted by iso-string timestamp) Signed-off-by: MinJeong Kim <min7859@gmail.com>
sorting resources by age in cluster-issues is broken (previously sorted by iso-string timestamp) Signed-off-by: MinJeong Kim <min7859@gmail.com>
Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com>
Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com>
Co-authored-by: Jim Ehrismann <40840436+jim-docker@users.noreply.github.com>
Fixes:
string
timestamp)Maintenance / tech debt:
Date.now()
instead ofnew Date().getTime()
(Fix: events sorting with compact=true is broken #2141 follow-up)