From dd6a0254c1a356e2f1dfabf8bc852c77efb38f86 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 21 Apr 2017 02:16:33 -0400 Subject: [PATCH] bin/time-in: adjust output formatting --- bin/time-in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/time-in b/bin/time-in index f968ce92..1cb242b3 100755 --- a/bin/time-in +++ b/bin/time-in @@ -103,9 +103,9 @@ if __name__ == '__main__': then = here.astimezone(timezone(d_tzname)) diff = diff(here, then) - print("{:30}{} ({} {})".format( + print("{:24} {}\t{} {}".format( d_coords['name'], - then.isoformat(), + then, diff, "ago" if then < here else "ahead" ))