[comp.bugs.misc] getdate

dave@lsuc.uucp (David Sherman) (04/28/88)

We have getdate(3) installed in libc.a and use it for various
applications beyond netnews.  According to getdate.y, it's
version 2.16, 9/24/87.

I just discovered that it is WRONG when parsing ctime(3) output.

If you feed "Wed Apr 27 12:09:03 1988" to getdate, it interprets
it as a number that, when output through ctime(3), produces:
"Tue Apr 26 11:41:03 1988".

I've reverted to an older getdate I had lying around, version 2.5
(Bellovin 3/3/83), and it works fine.  But the new one has some
enhancements I like.  Does anyone know what the problem is?
This machine is a Perkin-Elmer 3220 running v7, by the way.

David Sherman
The Law Society of Upper Canada
-- 
{ uunet!mnetor  pyramid!utai  decvax!utcsri  ihnp4!utzoo } !lsuc!dave