cosmic-applets/cosmic-applet-time/src
Joshua Megnauth fd01e07304
fix(time): handle invalid strftime formatters
Invalid format strings trigger a panic for the strftime formatter's Display implementation. This can occur frequently when the user is inputting a format string in COSMIC Settings. A plain '%' immediately causes a panic.

This commit handles invalid formatters correctly by writing to a buffer instead of relying on to_string() (Display).
2025-11-18 21:29:56 +01:00
..
lib.rs Restructure config to fix debian builds 2025-05-09 19:17:28 -06:00
localize.rs chore: apply recommendations from clippy 2025-10-04 02:51:18 +02:00
main.rs chore: add SPDX license identifiers 2024-05-06 21:56:50 +02:00
time.rs refactor(time): update to icu 2.0.0 2025-09-03 16:34:05 +02:00
window.rs fix(time): handle invalid strftime formatters 2025-11-18 21:29:56 +01:00