replaced the title text with an icon to save space
This commit is contained in:
		
							parent
							
								
									bc925ef767
								
							
						
					
					
						commit
						87736b6886
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -16,7 +16,7 @@ import functools | |||
| import locale | ||||
| from datetime import datetime, timedelta | ||||
| 
 | ||||
| from timew import TimeWarrior | ||||
| from timew import TimeWarrior  # type: ignore | ||||
| 
 | ||||
| TW = TimeWarrior() | ||||
| TIMEFORMATTER = '%Y%m%dT%H%M%S%z' | ||||
|  | @ -35,7 +35,7 @@ RESULTS = sorted(map( | |||
|     }, TW.summary()), | ||||
|                  key=lambda x: x['start']) | ||||
| 
 | ||||
| print("TW: {}\n-----".format( | ||||
| print("⌛ {}\n-----".format( | ||||
|     str(functools.reduce(lambda total, x: total + x['end'] - x['start'], RESULTS, timedelta())).split(sep='.', maxsplit=1)[0] | ||||
| )) | ||||
| print( | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue