void-packages/srcpkgs/nickle/patches/timelocal.patch

12 lines
242 B
Diff
Raw Normal View History

2017-11-15 14:04:28 +01:00
--- 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)));
}