Skip to content

Add AM/PM style option for clock overlay (#7)#17

Open
brad wants to merge 1 commit into
micw:masterfrom
brad:feature/am-pm-clock
Open

Add AM/PM style option for clock overlay (#7)#17
brad wants to merge 1 commit into
micw:masterfrom
brad:feature/am-pm-clock

Conversation

@brad

@brad brad commented Jun 30, 2026

Copy link
Copy Markdown

Used Jules to create this, please feel free voice any concerns and I'll do my best to fix them. There are nightly releases built by github actions in my clone if you wanna try

  • Added useAmPm to ConfigProvider and implemented it in JsonConfigService.
  • Added use_am_pm setting to assets/config.json.
  • Added localization strings for useAmPm in English and German.
  • Updated SettingsScreen to include a switch for AM/PM format under Clock settings.
  • Updated ClockOverlay to format time in 12-hour format when useAmPm is true.
  • Updated SlideshowScreen to pass the useAmPm setting to ClockOverlay.
  • Fixed missing concrete implementations of useAmPm in test mocks.

Preview

Screenshot_2026-06-29-18-08-07-133

- Added useAmPm to ConfigProvider and implemented it in JsonConfigService.
- Added use_am_pm setting to assets/config.json.
- Added localization strings for useAmPm in English and German.
- Updated SettingsScreen to include a switch for AM/PM format under Clock settings.
- Updated ClockOverlay to format time in 12-hour format when useAmPm is true.
- Updated SlideshowScreen to pass the useAmPm setting to ClockOverlay.
- Fixed missing concrete implementations of useAmPm in test mocks.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: brad <1614+brad@users.noreply.github.com>
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.

1 participant