mirror of https://github.com/nirenjan/dotfiles.git
Enhance precision in sdate display
parent
445d1453b7
commit
717dacdf67
|
@ -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.1f" % jd
|
||||
print "%05.2f" % jd
|
||||
|
||||
|
|
Loading…
Reference in New Issue