Use German abbreviations for cardinal directions
[rhynodge.git] / src / main / kotlin / net / pterodactylus / rhynodge / webpages / weather / wettercom / WindDirection.kt
index 6335fe2..6e43934 100644 (file)
@@ -22,9 +22,9 @@ enum class WindDirection {
 fun String.toWindDirection(): WindDirection {
     return when (this) {
         "N" -> WindDirection.NORTH
-        "NE" -> WindDirection.NORTHEAST
-        "E" -> WindDirection.EAST
-        "SE" -> WindDirection.SOUTHEAST
+        "NO" -> WindDirection.NORTHEAST
+        "O" -> WindDirection.EAST
+        "SO" -> WindDirection.SOUTHEAST
         "S" -> WindDirection.SOUTH
         "SW" -> WindDirection.SOUTHWEST
         "W" -> WindDirection.WEST