From: Micah Cowan

> > -      tms = time_str (NULL);
> > +      tms = datetime_str (NULL);

> Does anyone think there's any general usefulness for this sort of
> thing?

   I don't care much, but it seems like a fairly harmless change with
some benefit.  Of course, I use an OS where a directory listing which
shows date and time does so using a consistent and constant format,
independent of the age of a file, so I may be biased.

> Though if I were considering such a change, I'd probably just have wget
> mention the date at the start of its run, rather than repeat it for each
> transaction. Obviously wouldn't be a high-priority change... :)

   That sounds reasonable, except for a job which begins shortly before
midnight.  I'd say that it makes more sense to do it the same way every
time.  Otherwise, why bother displaying the hour every time, when it
changes so seldom?  Or the minute?  Eleven bytes more per file in the
log doesn't seem to me to be a big price to pay for consistent
simplicity.  Or you could let the victim specify a strptime() format
string, and satisfy everyone.  Personally, I'd just change time_str() to
datetime_str() in a couple of places.

------------------------------------------------------------------------

   Steven M. Schweda               [EMAIL PROTECTED]
   382 South Warwick Street        (+1) 651-699-9818
   Saint Paul  MN  55105-2547

Reply via email to