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:
parent
f802920a3a
commit
b5cb9a9ebb
4 changed files with 23 additions and 23 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue