More dates
This commit is contained in:
parent
565840d261
commit
e6e0f1fb3a
1 changed files with 1 additions and 1 deletions
|
@ -17,4 +17,4 @@ arrival="2018-02-02"; event="algolab-1"
|
|||
|
||||
export arrival event
|
||||
|
||||
# python3 -c 'import os; import datetime; day=datetime.datetime.strptime(os.environ["arrival"], "%Y-%m-%d"); delta = day - datetime.datetime.now(); print("%s is %sd away" % (os.environ["event"], delta.days + 1))'
|
||||
python3 -c 'import os; import datetime; day=datetime.datetime.strptime(os.environ["arrival"], "%Y-%m-%d"); delta = day - datetime.datetime.now(); print("%s is %sd away" % (os.environ["event"], delta.days + 1))'
|
||||
|
|
Loading…
Reference in a new issue