calendar

BSD calendar reimplementation
git clone https://git.ce9e.org/calendar.git

commit
62ac7850ea057b5609e2e13f84f97d478893e59a
parent
423b7905ed47e208eaf285043b9940995b93133b
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2018-10-31 15:18
show weekday

Diffstat

M cal.py 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/cal.py b/cal.py

@@ -267,7 +267,7 @@ def main():
  267   267 		for tpl, desc in entries:
  268   268 			if is_match(tpl, date):
  269   269 				star = '' if 'year' in tpl else '*'
  270    -1 				print(date.strftime('%b %d') + star + '\t' + desc)
   -1   270 				print(date.strftime('%a %b %d') + star + '\t' + desc)
  271   271 		date = date + datetime.timedelta(1)
  272   272 
  273   273