mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 17:52:45 +00:00 
			
		
		
		
	LibUnicode: Swap the preferred order of standard time zone display names
Our generator is currently preferring the DST variant of the time zone display names over the non-DST variant. LibTimeZone currently does not have DST support, and operates in a mode that basically assumes DST does not exist. Swap the display names for now just to be consistent until we have DST support. Note we will need to generate both of these variants and select the appropriate one at runtime once we have DST support.
This commit is contained in:
		
							parent
							
								
									8a4ac9c387
								
							
						
					
					
						commit
						bdf02c21e1
					
				
					 2 changed files with 7 additions and 7 deletions
				
			
		|  | @ -1468,7 +1468,7 @@ static ErrorOr<void> parse_time_zone_names(String locale_time_zone_names_path, U | |||
|     time_zone_formats.gmt_zero_format = locale_data.unique_strings.ensure(gmt_zero_format_string.as_string()); | ||||
| 
 | ||||
|     auto parse_time_zone = [&](StringView meta_zone, JsonObject const& meta_zone_object) { | ||||
|         constexpr auto standard_keys = Array { "daylight"sv, "standard"sv }; | ||||
|         constexpr auto standard_keys = Array { "standard"sv, "daylight"sv }; | ||||
|         constexpr auto generic_keys = Array { "generic"sv }; | ||||
| 
 | ||||
|         auto golden_zones = locale_data.meta_zones.find(meta_zone); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy Flynn
						Timothy Flynn