Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Aug 2016 08:00:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 212255] [NEW PORT] misc/timediff
Message-ID:  <bug-212255-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212255

            Bug ID: 212255
           Summary: [NEW PORT] misc/timediff
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: naito.yuichiro@gmail.com

Created attachment 174210
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D174210&action=
=3Dedit
ports/misc/timediff

timediff is a command line tool that shows two different date-time
for target timezone and localtime.

It's useful when I think
"I'm in New York, What time is two hours later from now in Tokyo?"

$ date
Mon Aug 29 23:10:36 EDT 2016

$ timediff Tokyo
2016-08-30 12:10 JST    2016-08-29 23:10 EDT
2016-08-30 13:10 JST    2016-08-30 00:10 EDT
2016-08-30 14:10 JST    2016-08-30 01:10 EDT
2016-08-30 15:10 JST    2016-08-30 02:10 EDT
2016-08-30 16:10 JST    2016-08-30 03:10 EDT
2016-08-30 17:10 JST    2016-08-30 04:10 EDT
2016-08-30 18:10 JST    2016-08-30 05:10 EDT
2016-08-30 19:10 JST    2016-08-30 06:10 EDT
2016-08-30 20:10 JST    2016-08-30 07:10 EDT
2016-08-30 21:10 JST    2016-08-30 08:10 EDT

The answer is 14:10 JST.

Here is short history of timediff.
timediff is written by Minmin (is a nickname of github account).
He showed it in 20th FreeBSD Workshop Tokyo on Aug, 1st.
I made a port of it.

Thanks.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212255-13>