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

Invalid time since creation/update in resource metadata display #4835

Open
1 of 4 tasks
ssssarah opened this issue Apr 4, 2024 · 0 comments
Open
1 of 4 tasks

Invalid time since creation/update in resource metadata display #4835

ssssarah opened this issue Apr 4, 2024 · 0 comments

Comments

@ssssarah
Copy link

ssssarah commented Apr 4, 2024

Describe the bug
A resource's "Created at" and "Updated at" is formatted in a user-friendly (difference between current datetime and the datetime of the event + months/day/hour/min conversion) way. I think this is just a particular value of this difference that leads to a not-so-great display but it shows "0 months".

What part of Nexus is affected

  • Fusion
  • Delta
  • CLI
  • Documentation

To Reproduce
Steps to reproduce the behavior, e.g. for Fusion:
(This may not be visible by the time of reproduction)

  1. Go to https://bbp.epfl.ch/nexus/web/bbp/mmb-point-neuron-framework-model/resources/https%3A%2F%2Fbbp.epfl.ch%2Fdata%2Fbbp%2Fmmb-point-neuron-framework-model%2F367bc36a-d253-47ab-8bb4-af631895758b

For information this was noticed on April 4th, 2024 and the creation date is March 5th, 2024.
So it is at the limit between displaying in days, and displaying in months.

Screenshots
Screenshot 2024-04-04 at 10 56 18

@ssssarah ssssarah added the bug label Apr 4, 2024
@imsdu imsdu added the fusion label Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants