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

Display dates and timestamps consistently in the UI #5729

Open
coverbeck opened this issue Nov 4, 2023 · 0 comments
Open

Display dates and timestamps consistently in the UI #5729

coverbeck opened this issue Nov 4, 2023 · 0 comments
Labels
enhancement gui Issues related to the current GUI. pick-me-up Relatively self-contained ticket that may be suitable for co-ops or new developers on the team
Milestone

Comments

@coverbeck
Copy link
Contributor

coverbeck commented Nov 4, 2023

Is your feature request related to a problem? Please describe.
We have have several ways of displaying dates and timestamps in the UI:

  • The new Archive feature displays the archive date as YYYY-MM-DD, e.g., 2023-11-02.
  • The workflow info, such as "Last update to the source repository", displays either:
    • If it's recent enough, a relative time, e.g., "8 days ago" with a date/timestamp tooltip, e.g., "Oct 26, 2023, 2:38:07PM"
    • If it's older, "mmm. DD YYYY", e.g., "Nov. 13, 2017". Yes, there's a period after the month here, but there isn't in the tooltip in the previous item.
  • The versions table uses YYYY-MM-DD with 24 hour time, e.g., "2023-10-26 14:38"
  • The App Logs dialog displays ISO-8061-ish "2023-10-26T15:04"

This is not an exhaustive list; implementer should look elsewhere for more cases.

Describe the solution you'd like
We should be as consistent as space considerations allow. Decide on 24 hour vs. AM/PM. I'd lean towards making more English language friendly, e.g., prefer "Jan 1, 2024" over "2024-01-01", and I would prefer AM/PM to 24 hour time, but whatever we decide on, we should be consistent.

Definitely don't do MM-DD-YYYY or DD-MM-YYYY, as that is ambiguous and interpretation depends what country you're in. I don't think we do this today, but just making sure and removing it as an option.

┆Issue is synchronized with this Jira Story
┆Fix Versions: Dockstore 2.X
┆Issue Number: DOCK-2485
┆Sprint: Backlog
┆Issue Type: Story

@coverbeck coverbeck added enhancement gui Issues related to the current GUI. labels Nov 4, 2023
@denis-yuen denis-yuen added this to the 2.X milestone Nov 17, 2023
@denis-yuen denis-yuen added the pick-me-up Relatively self-contained ticket that may be suitable for co-ops or new developers on the team label Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement gui Issues related to the current GUI. pick-me-up Relatively self-contained ticket that may be suitable for co-ops or new developers on the team
Projects
None yet
Development

No branches or pull requests

3 participants