mirror of https://github.com/nirenjan/dotfiles.git
				
				
				
			Fix stardate script to truncate instead of round
							parent
							
								
									b9098890e3
								
							
						
					
					
						commit
						9d02e9d8d0
					
				|  | @ -12,5 +12,5 @@ t = time.time() | |||
| jd = (t / 86400.0 + 40587.5) | ||||
| 
 | ||||
| # Use the idea that 10 Julian days is equal to 1 stardate | ||||
| print "%05.2f" % jd | ||||
| print ("%05.3f" % jd)[:-1] | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue