Skip to content

Commit a57b92b

Browse files
authored
Merge pull request #20 from probablyrory/patch-1
Fix Northern and Southern hemisphere emojis
2 parents 61b4c07 + 83acb75 commit a57b92b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Moon.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ export const emojiForLunarPhase = (phase, hemisphere = Hemisphere.NORTHERN) => {
9999
let emoji;
100100

101101
if (hemisphere === Hemisphere.SOUTHERN) {
102-
emoji = LunarEmoji.NorthernHemisphere;
103-
} else {
104102
emoji = LunarEmoji.SouthernHemisphere;
103+
} else {
104+
emoji = LunarEmoji.NorthernHemisphere;
105105
}
106106

107107
switch (phase) {

0 commit comments

Comments
 (0)