Re: Printing rlog messages with time inside the range

From: Bill Marcum (bmarcum_at_iglou.com.urgent)
Date: 04/23/04


Date: Fri, 23 Apr 2004 06:33:17 -0000

On 22 Apr 2004 10:34:41 -0700, Stu
  <beefstu350@hotmail.com> wrote:
> Is it possible to inlclude time along with date in a rlog range.
>
> For example, I know this works:
>
> erlog -d'2004-04-03<=2004-04-30' file.c
>
> 1) How can the above statement be modified to include time ?
>
> 2) What format would the time be in HH:MM:SS ?
>
(Note: these are from the man pages of GNU rlog and co. I'm not sure
if other implementations are as free-form.)

man rlog
           The
           date/time strings d, d1, and d2 are in the free format explained in
           co(1). Quoting is normally necessary, especially for < and >.
           Note that the separator is a semicolon.
man co
       -ddate retrieves the latest revision on the selected branch whose
              checkin date/time is less than or equal to date. The date and
              time can be given in free format. The time zone LT stands for
              local time; other common time zone names are understood.
For
              example, the following dates are equivalent if local time is
              January 11, 1990, 8pm Pacific Standard Time, eight hours west of
              Coordinated Universal Time (UTC):

                     8:00 pm lt
                     4:00 AM, Jan. 12, 1990 default is UTC
                     1990-01-12 04:00:00+00 ISO 8601 (UTC)
                     1990-01-11 20:00:00-08 ISO 8601 (local time)

-- 
Giraffe: a ruminant with a view.