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

[MINOR] fix(dashboard): Display the registration time in 24-hour format #1752

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

rickyma
Copy link
Contributor

@rickyma rickyma commented May 29, 2024

What changes were proposed in this pull request?

Display the registration time in 24-hour format.

Why are the changes needed?

The current displayed registration time follows the system time of the machine. If the system is set to a 12-hour format, then the page will display the time in a 12-hour format. If the system is set to a 24-hour format, then the page will display the time in a 24-hour format. It's not clear in the UI whether it's AM or PM when the Linux machine uses the 12-hour format.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Existing UTs.

@rickyma
Copy link
Contributor Author

rickyma commented May 29, 2024

@yl09099 PTAL.

Copy link

Test Results

 2 411 files   - 8   2 411 suites   - 8   4h 57m 4s ⏱️ - 3m 3s
   933 tests ±0     931 ✅  - 1   1 💤 ±0  0 ❌ ±0  1 🔥 +1 
10 811 runs   - 8  10 796 ✅  - 9  14 💤 ±0  0 ❌ ±0  1 🔥 +1 

For more details on these errors, see this check.

Results for commit 4271744. ± Comparison against base commit 417674d.

@yl09099
Copy link
Contributor

yl09099 commented Jun 3, 2024

LGTM~

@rickyma
Copy link
Contributor Author

rickyma commented Jun 3, 2024

@yl09099 You can approve this. I've already tested this.

Copy link
Member

@zuston zuston left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@zuston zuston merged commit 5e49017 into apache:master Jun 3, 2024
39 of 41 checks passed
zhengchenyu pushed a commit that referenced this pull request Aug 2, 2024
…at (#1752)

### What changes were proposed in this pull request?

Display the registration time in 24-hour format.

### Why are the changes needed?

The current displayed registration time follows the system time of the machine. If the system is set to a 12-hour format, then the page will display the time in a 12-hour format. If the system is set to a 24-hour format, then the page will display the time in a 24-hour format. It's not clear in the UI whether it's AM or PM when the Linux machine uses the 12-hour format.

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Existing UTs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants