Clock: AM/PM in 12-hour mode, and the default panel clock now has source
CI / test (push) Failing after 16s
CI / test (push) Failing after 16s
clock-digital12 (the default panel's clock) was a prebuilt wasm with no source. It is now a component built from lib/clock like the Digital Clock, starting in 12-hour mode with AM/PM, and it gets the same right-click Module settings. Both digital clocks get a "Show AM/PM" switch, offered in 12-hour mode (on by default). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hhrQpz9texRcAtgECq
This commit is contained in:
19 files changed
+930
-10
No files matched your search
@@ -16,7 +16,7 @@ pub fn info() -> PlasmoidInfo {
|
||||
///|
|
||||
pub fn render(size : @types.Size) -> Array[@types.DrawOp] {
|
||||
let c = @logic.digital_config
|
||||
@logic.render_digital(size, @theme.get_tokens(), @clock.now(), hour12=c.hour12, show_date=c.show_date)
|
||||
@logic.render_digital(size, @theme.get_tokens(), @clock.now(), hour12=c.hour12, show_date=c.show_date, ampm=c.ampm)
|
||||
}
|
||||
|
||||
///|
|
||||
|
||||
Reference in new issue
Block a user