void-packages/srcpkgs/nickle/patches/timelocal.patch
2017-11-15 14:04:28 +01:00

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)));
}