(09-01-2017, 02:12)Werk_AG Wrote: If you do a file compare (using ExamDiff) between the "time" library supplied on the WeatherDuino Pro2 package and the "newer", you will see that there isn't any changes on the code. In the "newer", just the time_t type assignment to some Constants was removed.
Agreed. apart from the time.h now including timelib.h they're essentially unchanged
(09-01-2017, 02:12)Werk_AG Wrote: ...so we can still use on the code the statement #include <time.h>
Yes - Unless you're using 1.8.0!
1.8.0 has an extended set of system include files compared to 1.7.11, including one called "time.h" - see screenshots
![[Image: xbzKDz.th.png]](http://imagizer.imageshack.com/img924/9841/xbzKDz.th.png)
![[Image: cSFD7O.th.png]](http://imagizer.imageshack.com/img921/7382/cSFD7O.th.png)
Because of this - (and the order in which the C pre-processor searches for include files) using #include "Time.h" requests (on windows anyway) "time.h" from the system directory rather than "Time.h" from the "Time" library.
If you use "TimeLib.h", the correct file gets included. That seems to be why the library filenames were changed. Hope that helps.
For now, 1.7.11 is fine to use, but I guess 1.8.0 compatibility will be required soon...

