Bläddra i källkod

[changed] Pregnancy due date format

Sicaa 5 år sedan
förälder
incheckning
6204aa6589
2 ändrade filer med 32 tillägg och 1 borttagningar
  1. 27 1
      locations/din_bad.qsrc
  2. 5 0
      locations/saveupdater.qsrc

+ 27 - 1
locations/din_bad.qsrc

@@ -780,7 +780,33 @@ $d_cycreport_upduedate = {
 		temp = 0
 	end
 	if temp > 0: jump 'pregduedateloop'
-	$pregduedate = '<<pregduemonth>> / <<pregdueday>> / <<pregdueyear>>'
+	$pregduedate = '<<pregdueday>> '
+	if pregduemonth = 1:
+		$pregduedate += 'Jan'
+	elseif pregduemonth = 2:
+		$pregduedate += 'Feb'
+	elseif pregduemonth = 3:
+		$pregduedate += 'Mar'
+	elseif pregduemonth = 4:
+		$pregduedate += 'Apr'
+	elseif pregduemonth = 5:
+		$pregduedate += 'May'
+	elseif pregduemonth = 6:
+		$pregduedate += 'Jun'
+	elseif pregduemonth = 7:
+		$pregduedate += 'Jul'
+	elseif pregduemonth = 8:
+		$pregduedate += 'Aug'
+	elseif pregduemonth = 9:
+		$pregduedate += 'Sep'
+	elseif pregduemonth = 10:
+		$pregduedate += 'Oct'
+	elseif pregduemonth = 11:
+		$pregduedate += 'Nov'
+	elseif pregduemonth = 12:
+		$pregduedate += 'Dec'
+	end
+	$pregduedate += ' <<pregdueyear>>'
 }
 
 $d_pregmovement = {

+ 5 - 0
locations/saveupdater.qsrc

@@ -660,6 +660,11 @@ if showerphotos = 1 and showerphotosupdater = 0:
 	anushkaphoto[6] = 1
 end
 
+!! Changes to the pregnancy due date dynamic format
+if pregdateupdate = 0:
+    gs 'din_bad'
+    pregdateupdate = 1
+end
 
 --- saveupdater ---------------------------------