Skip to content

Add customizable titlebar clock format#132

Merged
midwan merged 2 commits into
masterfrom
issue-109-titlebar-clock-format
May 15, 2026
Merged

Add customizable titlebar clock format#132
midwan merged 2 commits into
masterfrom
issue-109-titlebar-clock-format

Conversation

@midwan
Copy link
Copy Markdown
Collaborator

@midwan midwan commented May 15, 2026

Summary

  • Add a configurable titlebar clock format stored in the environment config.
  • Use locale.library FormatDate for custom clock strings and locale AM/PM text for the default 12-hour clock.
  • Add a Clock Format picker in Environment > Locale with supported FormatDate tokens.
  • Keep the OS3 titlebar clock right-aligned while avoiding the startup freezes seen in the earlier screen-title path.

Validation

  • python3 -m unittest discover source/Modules/configopus/tests
  • python3 -m unittest discover source/Program/tests
  • python3 -m unittest discover source/Library/tests
  • git diff --check
  • podman run --rm -v /home/midwan/Github/dopus5:/work -w /work/source sacredbanana/amiga-compiler:m68k-amigaos make os3 all debug=no
  • podman run --rm -v /home/midwan/Github/dopus5:/work -w /work/source sacredbanana/amiga-compiler:m68k-amigaos make os3 release-package debug=no

Refs #109

@midwan midwan marked this pull request as ready for review May 15, 2026 22:08
@midwan midwan self-assigned this May 15, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a60d38d240

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread source/Modules/configopus/config_environment_lister.c Outdated
Comment thread source/Program/clock_task.c Outdated
@midwan midwan merged commit 6f2e6a6 into master May 15, 2026
16 checks passed
@midwan midwan deleted the issue-109-titlebar-clock-format branch May 15, 2026 22:35
@midwan midwan linked an issue May 15, 2026 that may be closed by this pull request
@midwan midwan mentioned this pull request May 15, 2026
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.

Locale 12h clock setting

1 participant