Fix missing year offset on the TempDataLogger Python host application.
authorDean Camera <dean@fourwalledcubicle.com>
Tue, 16 Jul 2013 18:41:33 +0000 (20:41 +0200)
committerDean Camera <dean@fourwalledcubicle.com>
Tue, 16 Jul 2013 18:41:33 +0000 (20:41 +0200)
Projects/TempDataLogger/TempLogHostApp_Python/temp_log_config.py

index f42d02f..84a7562 100644 (file)
@@ -53,7 +53,7 @@ def configure_temp_log_device(device, time_date, log_interval_500ms):
     # Followed by the time/date data
     report_data.extend([time_date.hour, time_date.minute,
                         time_date.second, time_date.day,
-                        time_date.month, time_date.year])
+                        time_date.month, time_date.year - 2000])
 
     # Lastly the log interval in 500ms units of time
     report_data.extend([log_interval_500ms])