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). |
||
|---|---|---|
| .. | ||
| data | ||
| i18n | ||
| src | ||
| Cargo.toml | ||
| i18n.toml | ||