mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:47:46 +00:00
Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case
Let's make it clear that these functions deal with ASCII case only.
This commit is contained in:
parent
03cc45e5a2
commit
a504ac3e2a
76 changed files with 480 additions and 476 deletions
|
@ -154,7 +154,7 @@ ReadonlySpan<StringView> __attribute__((weak)) all_time_zones()
|
|||
Optional<TimeZone> __attribute__((weak)) time_zone_from_string([[maybe_unused]] StringView time_zone)
|
||||
{
|
||||
#if !ENABLE_TIME_ZONE_DATA
|
||||
if (time_zone.equals_ignoring_case("UTC"sv))
|
||||
if (time_zone.equals_ignoring_ascii_case("UTC"sv))
|
||||
return TimeZone::UTC;
|
||||
#endif
|
||||
return {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue