 #endif
 
   // Convert UTC time & date to local time & date
-  bool DST = convertToLocal(&time, &year, &month,
-                            &day, (double)longitude.toFloat(), true); // true means date and DST conversion
+  *DST = convertToLocal(&time, &year, &month,
+                        &day, (double)longitude.toFloat(), true); // true means date and DST conversion
 
   *monthI = month;
   *dayI = day;
   *yearI = year;
-
-#ifdef DEBUG
-  Serial.print("\nDate ");
-  Serial.print(month);
-  Serial.print("/");
-  Serial.print(day);
-  Serial.print("/");
-  Serial.println(year);
-  Serial.println((DST) ? "It's DST" : "It's ST");
-#endif
 
   // Get sunrise and sunset time in UTC
   int rs = sun_rise_set(year, month, day,

}

String convertGMTTimeToLocal(String timeS, String latitude, String longitude,
                             int* riseI, int* setI, int* monthI, int* dayI, int* yearI)
{
  double rise, set;


  if (*setI >= 12) { // Convert to 12 hour format
    if (*setI > 12) *setI -= 12;
  }

  char AMPM[] = "am";
  if (time >= 12) { // Convert to 12 hour format
