🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #11

Re: sort by date sent (several hacks sought)

#11
From: Joe Wells
Date: Fri, 10 Apr 1992 20:31
17 lines
1292 bytes
In article <JGD.92Apr9191219@kodiak.acl.lanl.gov> jgd@acl.lanl.gov (Jerry G. DeLapp) writes:

   "Could the final release of vm-5.32 (or at least the next release)
   sorting by date sent please handle both RFC832 and RFC1123 style dates
   and not trigger reordering when the dates are equivalent."

   For example, 1992 and 92 are equivalent years and comparing them should not
   trigger reordering if the month and year are equivalent...

This is easy.  Convert the strings to numbers and then apply `mod' with
1900 as second argument.  This will work for at least the next 1807 years.

-- 
Enjoy,

Joe Wells <jbw@cs.bu.edu>
Member of the League for Programming Freedom --- send e-mail for details
Technical Details
Message-ID: <JBW.92Apr10153154@bigbird.bu.edu>
Path: arc1-ca.pugleaf.net!sparky!news.UU.NET!stanford.edu!agate!ames!elroy.jpl.nasa.gov!usc!rpi!bu.edu!nntp-read!jbw
References: <JGD.92Apr8171718@kodiak.acl.lanl.gov> <JGD.92Apr9191219@kodiak.acl.lanl.gov>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!news.UU.NET!stanford.edu!agate!ames!elroy.jpl.nasa.gov!usc!rpi!bu.edu!nntp-read!jbw
From: jbw@bigbird.bu.edu (Joe Wells)
Newsgroups: gnu.emacs.vm.bug
Subject: Re: sort by date sent (several hacks sought)
Message-ID: <JBW.92Apr10153154@bigbird.bu.edu>
Date: 10 Apr 92 20:31:54 GMT
References: <JGD.92Apr8171718@kodiak.acl.lanl.gov>
 <JGD.92Apr9191219@kodiak.acl.lanl.gov>
Sender: news@bu.edu
Distribution: gnu
Organization: Boston University Computer Science Department
Lines: 17
In-reply-to: jgd@acl.lanl.gov's message of 10 Apr 92 02:12:19 GMT