11 lines
242 B
Diff
11 lines
242 B
Diff
--- builtin-date.c.orig
|
|
+++ builtin-date.c
|
|
@@ -143,7 +143,7 @@
|
|
time_t seconds;
|
|
|
|
from_date(v, &tm);
|
|
- seconds = timelocal(&tm);
|
|
+ seconds = mktime(&tm);
|
|
RETURN(Reduce(NewSignedDigitInteger((signed_digit) seconds)));
|
|
}
|
|
|