Fix __dt_to_timespec primitive function.
Set tm_isdst = 0 to disable DayLight Savig Time.
--- a/lib/iec_std_lib.h Wed May 02 14:46:48 2012 +0200
+++ b/lib/iec_std_lib.h Thu May 03 17:43:32 2012 +0200
@@ -261,6 +261,7 @@
broken_down_time.tm_mday = day; /* day of month, from 1 to 31 */
broken_down_time.tm_mon = month - 1; /* month since January, in the range 0 to 11 */
broken_down_time.tm_year = year - 1900; /* number of years since 1900 */
+ broken_down_time.tm_isdst = 0; /* disable daylight savings time */
epoch_seconds = mktime(&broken_down_time); /* determine number of seconds since the epoch, i.e. Jan 1st 1970 */
if ((time_t)(-1) == epoch_seconds)