mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 01:40:46 +00:00
LibTimeZone+Userland: Include Link entries when returning all time zones
We currently only return primary time zones, i.e. time zones that are not a Link. LibJS will require knowledge of Link entries, and whether each entry is or is not a Link.
This commit is contained in:
parent
ddaba88340
commit
0bc401a1d6
Notes:
sideshowbarker
2024-07-17 06:35:23 +09:00
Author: https://github.com/trflynn89
Commit: 0bc401a1d6
Pull-request: https://github.com/SerenityOS/serenity/pull/21339
6 changed files with 63 additions and 9 deletions
|
@ -27,7 +27,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
|
||||
if (list_time_zones) {
|
||||
for (auto time_zone : TimeZone::all_time_zones())
|
||||
outln("{}", time_zone);
|
||||
outln("{}", time_zone.name);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue