Commit e6e0f1fb authored by Nico Schottelius's avatar Nico Schottelius

More dates

parent 565840d2
...@@ -17,4 +17,4 @@ arrival="2018-02-02"; event="algolab-1" ...@@ -17,4 +17,4 @@ arrival="2018-02-02"; event="algolab-1"
export arrival event 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))'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment