til adding U+FE0F specifies emoji representation. Updating emojis
This commit is contained in:
parent
17d94d9285
commit
03ca266e1d
1 changed files with 4 additions and 4 deletions
|
|
@ -3,11 +3,11 @@ const types = @import("../weather/types.zig");
|
|||
pub fn getWeatherEmoji(code: types.WeatherCode) []const u8 {
|
||||
return switch (@intFromEnum(code)) {
|
||||
200...232 => "⛈️", // Thunderstorm
|
||||
300...321 => "🌦", // Drizzle
|
||||
300...321 => "🌦️", // Drizzle
|
||||
500...531 => "🌧️", // Rain
|
||||
600...610, 617...622 => "🌨️", // Snow
|
||||
611...616 => "🌧", // Sleet
|
||||
701, 741 => "🌁", // Mist/fog. Also could be 🌫
|
||||
600...610, 617...622 => "❄️", // Snow
|
||||
611...616 => "🌨️", // Sleet
|
||||
701, 741 => "🌁", // Mist/fog. Also could be 🌫 / 🌫️
|
||||
800 => "☀️", // Clear
|
||||
801, 802 => "⛅️", // Few/scattered clouds
|
||||
803, 804 => "☁️", // Broken/overcast clouds
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue