-
Notifications
You must be signed in to change notification settings - Fork 193
Open

Description
On macOS the function in the get_token.sh
script will throw an error:
130-zsh% date "+%c" --date='1 day'
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]
A macOS user can use GNU date by installing via homebrew:
brew install coreutils
And then changing the command in the script from date
to gdate
Metadata
Metadata
Assignees
Labels
No labels