Skip to content

Update TimePicker regional clock guidance - #2224

Merged
Niels Laute (niels9001) merged 4 commits into
mainfrom
niels-main/update-timepicker-locale-description
Sep 4, 2026
Merged

Niels Laute (niels9001) merged 4 commits into
mainfrom
niels-main/update-timepicker-locale-description

Conversation

@niels9001

@niels9001 Niels Laute (niels9001) commented Sep 4, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Updates the TimePicker samples to explain that the default example follows the user's regional settings and to demonstrate both ClockIdentifier="12HourClock" and ClockIdentifier="24HourClock" overrides.

Motivation and Context

The existing sample only showed the 24-hour override and did not explain the default regional behavior.

Fixes #2219

How Has This Been Tested?

  • Built WinUIGallery.csproj for Release/x64.
  • Confirmed the renamed sample definition is referenced and the old filename is unused.

Screenshots (if appropriate):

N/A - the sample uses existing TimePicker controls.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
- Explain that the default clock format follows the user's region

- Clarify that ClockIdentifier overrides the regional format

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: aa38c224-b9d9-4bd5-9005-e534b30555f9
- Keep the control description independent of regional behavior

- Demonstrate explicit 12-hour and 24-hour ClockIdentifier values

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: aa38c224-b9d9-4bd5-9005-e534b30555f9
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: aa38c224-b9d9-4bd5-9005-e534b30555f9
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@niels9001
Niels Laute (niels9001) merged commit b430506 into main Sep 4, 2026
4 checks passed
@niels9001
Niels Laute (niels9001) deleted the niels-main/update-timepicker-locale-description branch September 4, 2026 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants