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:
parent
227379a1da
commit
8f7c2f8292
8 changed files with 14 additions and 14 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue