zu sanghee

Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
Nico Schottelius 2014-07-23 17:00:33 +09:00
parent 854dd306d6
commit 1142bf67aa
1 changed files with 8 additions and 0 deletions

8
zu-sanghee Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
arrival="2014-7-14"
arrival="2014-8-20"
export arrival
python3 -c 'import os; import datetime; day=datetime.datetime.strptime(os.environ["arrival"], "%Y-%m-%d"); delta = day - datetime.datetime.now(); print("Sanghee is %sd away" % (delta.days))'