mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:27:45 +00:00
LibJS: Replace a DeprecatedString with String
Refactors Date class to use String instead of DeprecatedString. Changes use of the Date class in DatePrototype accordingly.
This commit is contained in:
parent
65a927d16e
commit
7c66c5f12d
3 changed files with 4 additions and 4 deletions
|
@ -23,7 +23,7 @@ public:
|
|||
double date_value() const { return m_date_value; }
|
||||
void set_date_value(double value) { m_date_value = value; }
|
||||
|
||||
DeprecatedString iso_date_string() const;
|
||||
ErrorOr<String> iso_date_string() const;
|
||||
|
||||
private:
|
||||
Date(double date_value, Object& prototype);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue