Skip to content

ui: Standardize time and date display formats #81159

@jocrl

Description

@jocrl

An off-hand search in the codebase shows a mix of time display formats, including some with subtle differences. E.g.,

  • Sep 3, 2021 at 9:14 pm (active statements, active transactions)
  • Sep 3, 2021 at 9:14 PM (jobs table retention time)
  • Sep 03, 2021 at 9:14 PM (databases table and details)
  • September 3, 2021 at 9:14 pm (statement diagnostics)

Others are more different:

  • 21:14:33 on Sep 3rd, 2021 (metrics page graph hover)
  • Sep 03, 2021 21:14 (statement details last execution time)

Related to #81077, it might be helpful to standardize this, including by having one shared string variable for the display format (or having all possible formats as variables in one file).

image

Jira issue: CRDB-15116

Metadata

Metadata

Assignees

Labels

A-sql-console-generalSQL Observability issues on the DB console spanning multiple areas. Includes Cockroach Cloud ConsoleC-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions