markchalloner / git-semver

Git plugin for Semantic Versioning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OS X and non-gnu date

blakef opened this issue · comments

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"