[Bug 212255] [NEW PORT] misc/timediff

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 30 08:00:36 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212255

            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 at FreeBSD.org
          Reporter: naito.yuichiro at gmail.com

Created attachment 174210
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=174210&action=edit
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.

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


More information about the freebsd-ports-bugs mailing list