Why not use locale to format the date, that way everyone can be
happy.  I would rake a look at LC_TIME to determine how to print
the date.  On Solaris, take a look at the man page at locale(5)
for a primer.

Donald Sharp wrote:
> 
> I was just following the standard that we follow here in the us ;(
> which is month/day/year.  for the patch.  I then followed the
> format for the ChangeLog( which is different ).  In any event this
> is the second request I have gotten for year/month/day.  So
> I'll go ahead and make the changes and repost them ;)
> 
> donald
> On Mon, May 01, 2000 at 06:42:27PM -0600, Tobias Weingartner wrote:
> > On Monday, May 1, Donald Sharp wrote:
> > > This patch adds the year to the history command.  When
> > > a user does cvs history <blah> it only prints out month/day.
> > > Modified the code to print out month/day/year.
> > >
> > > Patch generated with cvs diff -c
> > >
> > > Thanks!
> > >
> > > donald
> > >
> > > ************BEGIN PATCH***************
> > > ? 1
> > > cvs server: Diffing .
> > > Index: ChangeLog
> > > ===================================================================
> > > RCS file: /home2/cvsroot/ccvs/src/ChangeLog,v
> > > retrieving revision 1.1882
> > > diff -c -r1.1882 ChangeLog
> > > *** ChangeLog   2000/04/19 16:59:00     1.1882
> > > --- ChangeLog   2000/05/01 23:43:42
> >
> > Why not make it year/month/day for consistancy's sake?
> >
> > --Toby.
> >
> >

-- 
Glen Wiley                          [EMAIL PROTECTED]
Staff Software Engineer
3Com - Carrier Systems Group, R&D

Reply via email to