1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:17:35 +00:00

LibGUI+TaskBar: Make Calendar::formatted_date() return ErrorOr<String>

This commit introduces no error propagation.
This commit is contained in:
Karol Kosek 2023-02-11 21:19:00 +01:00 committed by Linus Groh
parent f802920a3a
commit b5cb9a9ebb
4 changed files with 23 additions and 23 deletions

View file

@ -45,7 +45,7 @@ public:
unsigned view_year() const { return m_view_year; }
unsigned view_month() const { return m_view_month; }
DeprecatedString formatted_date(Format format = LongMonthYear);
ErrorOr<String> formatted_date(Format format = LongMonthYear);
Mode mode() const { return m_mode; }
void toggle_mode();