OS X and non-gnu date
blakef opened this issue · comments
Blake Friedman commented
date
on OSX (at least on El Capitan) uses -d
to set the kernel's value for daylight saving time.
date -d "2015-11-13" "+%s"
Should be changed to:
date -j -f "%Y-%m-%d" "2015-11-13" "+%s"