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). |
||
|---|---|---|
| .. | ||
| lib.rs | ||
| localize.rs | ||
| main.rs | ||
| time.rs | ||
| window.rs | ||