Commits

Trammell Hudson committed 104317a

fixed am/pm times and changed ochtends to morgen

  • Participants
  • Parent commits 1174a24

Comments (0)

Files changed (1)

 		// nothing to do
 		ampm_text = "";
 	} else
-	if (hour < 12)
-		ampm_text = "'s ochtends";
+	if (hour <= 6)
+		ampm_text = "'s nachts";
+	if (hour <= 12)
+		ampm_text = "'s morgen";
 	else
-	if (hour < 18)
+	if (hour <= 18)
 		ampm_text = "'s middags";
 	else
-	if (hour < 21)
+	if (hour <= 24)
 		ampm_text = "'s avonds";
-	else
-		ampm_text = "'s nachts";
 }