diff --git a/fetch2300.c b/fetch2300.c
index 8afdb12..6e5ae96 100644
--- a/fetch2300.c
+++ b/fetch2300.c
@@ -240,7 +240,7 @@ int main(int argc, char *argv[])
/* GET DATE AND TIME FOR LOG FILE, PLACE BEFORE ALL DATA IN LOG LINE */
time(&basictime);
- strftime(datestring, sizeof(datestring),"Date %Y-%b-%d\nTime %H:%M:%S\n",
+ strftime(datestring, sizeof(datestring),"Date %Y-%m-%d\nTime %H:%M:%S\n",
localtime(&basictime));
// Print out and leave
diff --git a/linux2300.c b/linux2300.c
index fbc4342..d86a1ad 100644
--- a/linux2300.c
+++ b/linux2300.c
@@ -57,7 +57,8 @@ WEATHERSTATION open_weatherstation(char *device)
//tcgetattr(ws2300, &adtio); // Commented out and replaced by the memset above
// Serial control options
- adtio.c_cflag &= ~PARENB; // No parity
+ adtio.c_cflag |= PARENB; // Parity
+ adtio.c_cflag |= PARODD; // Odd
adtio.c_cflag &= ~CSTOPB; // One stop bit
adtio.c_cflag &= ~CSIZE; // Character size mask
adtio.c_cflag |= CS8; // Character size 8 bits
diff --git a/xml2300.c b/xml2300.c
index 64947a3..ad97f34 100644
--- a/xml2300.c
+++ b/xml2300.c
@@ -100,7 +100,7 @@ int main(int argc, char *argv[])
strftime(datestring, sizeof(datestring), "\t%Y-%m-%d\n"
"\t\n", localtime(&basictime));
- fprintf(fileptr, datestring);
+ fprintf(fileptr, "%s", datestring);
/* */