bin/time-in: adjust output formatting
This commit is contained in:
parent
d529398acc
commit
dd6a0254c1
|
@ -103,9 +103,9 @@ if __name__ == '__main__':
|
||||||
then = here.astimezone(timezone(d_tzname))
|
then = here.astimezone(timezone(d_tzname))
|
||||||
diff = diff(here, then)
|
diff = diff(here, then)
|
||||||
|
|
||||||
print("{:30}{} ({} {})".format(
|
print("{:24} {}\t{} {}".format(
|
||||||
d_coords['name'],
|
d_coords['name'],
|
||||||
then.isoformat(),
|
then,
|
||||||
diff,
|
diff,
|
||||||
"ago" if then < here else "ahead"
|
"ago" if then < here else "ahead"
|
||||||
))
|
))
|
||||||
|
|
Loading…
Reference in a new issue