RTC: Add option to choose between system locale and yyyy-MM-dd HH:mm:ss #13401
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Description of Changes
Adds an option under
Emulation>Real-Time ClockcalledUse System Locale Format. When enabled, the QDateTimeEdit uses the user's QLocale derived from their operating system (current behavior in master). When disabled, the QDateTimeEdit uses the standard formatyyyy-MM-dd HH:mm:ss. The option is disabled by default.Rationale behind Changes
yyyy-MM-dd HH:mm:ssformat is important as a sane default because many users do not includessin their system's locale. I do, and when I made this feature, I incorrectly assumed this information was always present in the locale but simply truncated in e.g. a user's clock widget. This came up recently when someone trying to do RNG manipulation couldn't access the seconds and had to resort to 1) changing their system locale and rebooting or 2) using the.inifile direclty.ssin their format, that level of granularity is useless for some of the biggest use cases for this feature.Suggested Testing Steps
Manually Set Real-Time Clockalso disables the new optionUse System Locale Format.Use System Locale Format1) starts off asyyyy-MM-dd HH:mm:sswithout the option enabled and 2) changes to your system format with it enabled. Keep in mind that your QLocale is likely only changed upon system reboot, so changing your system's locale then trying to see if PCSX2 responds to that is out of our hands.Did you use AI to help find, test, or implement this issue or feature?
I reset until I found the seed with this PR in it.