Revision 3c6b2088 vl.c
b/vl.c | ||
---|---|---|
8116 | 8116 |
} |
8117 | 8117 |
tm.tm_year -= 1900; |
8118 | 8118 |
tm.tm_mon--; |
8119 |
rtc_start_date = timegm(&tm); |
|
8119 |
rtc_start_date = mktimegm(&tm);
|
|
8120 | 8120 |
if (rtc_start_date == -1) { |
8121 | 8121 |
date_fail: |
8122 | 8122 |
fprintf(stderr, "Invalid date format. Valid format are:\n" |
Also available in: Unified diff