News for hackers. Stuff that matters.
Re:Githubassets.com Cert Has Expired by kingsloi on Monday November 02, 2020 @09:07AM (#24968230)
Hmm, if I copy/paste this, I get a different output:

    ~  ~/certdays.sh google.com 14
    date: illegal time format
    usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [- 
    v[+|-]val[ymwdHMS]] ...
            [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] 
    [+format]
    google.com: -18568
    -n Lasts longer then 14 days?
    NO!!!!!!!!!!!!!!
Re:Githubassets.com Cert Has Expired by floatingatoll on Monday November 02, 2020 @10:40AM (#24969265)
You can brew install coreutils and edit it to use gdate instead of date.
Re:Githubassets.com Cert Has Expired by stereo on Monday November 02, 2020 @09:18AM (#24968314)
Are you running it on macOS or something non-Linux?
Re:Githubassets.com Cert Has Expired by kingsloi on Monday November 02, 2020 @12:17PM (#24970495)
Ah, yes I am running it on macOS Mojave
Re:Githubassets.com Cert Has Expired by mg on Monday November 02, 2020 @09:14AM (#24968283)
Works for me. In Bash? Maybe copy/paste gone wrong?

I have put it into a Github repo now and put the link into the post. Does that work for you?