1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 08:28:11 +00:00

LibJS: Port get_difference_settings() to String

Also make balance_duration() take a StringView as part of this, it only
does equality checks.
This commit is contained in:
Linus Groh 2023-01-26 14:43:42 +00:00
parent 227379a1da
commit 8f7c2f8292
8 changed files with 14 additions and 14 deletions

View file

@ -118,9 +118,9 @@ struct SecondsStringPrecision {
};
struct DifferenceSettings {
DeprecatedString smallest_unit;
DeprecatedString largest_unit;
DeprecatedString rounding_mode;
String smallest_unit;
String largest_unit;
String rounding_mode;
u64 rounding_increment;
Object& options;
};