-
Notifications
You must be signed in to change notification settings - Fork 4.1k
ui: Standardize time and date display formats #81159
Copy link
Copy link
Closed
Labels
A-sql-console-generalSQL Observability issues on the DB console spanning multiple areas. Includes Cockroach Cloud ConsoleSQL 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.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
Description
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).
Jira issue: CRDB-15116
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-sql-console-generalSQL Observability issues on the DB console spanning multiple areas. Includes Cockroach Cloud ConsoleSQL 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.Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
