You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Russ Allbery <rr...@stanford.edu> on 2002/06/01 00:09:42 UTC

Re: Human representation of dates, opinions

Stephan Feder <sf...@stephan-feder.de> writes:

> At least for unix systems, just use strftime() with %c format; the
> output depends on the user's locale setting (LC_TIME).

Unfortunately, I'm not aware of anyone for whom the %c format output in
the C locale is the preferred date/time format.  The bit of separating the
month and day from the year is particularly odd.  And unfortunately, that
format is pretty well set in stone by now.

This English-speaking American likes 2002-05-31 17:07:29 quite a bit
better than Fri May 31 17:07:29 2002, which is not my preferred date
format by any stretch of the imagination.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Human representation of dates, opinions

Posted by Kevin Pilch-Bisson <ke...@pilch-bisson.net>.
On Sat, Jun 01, 2002 at 10:10:20AM +0200, Josef Wolf wrote:
> On Fri, May 31, 2002 at 08:26:02PM -0700, Russ Allbery wrote:
> 
> > Oh, yeah, if I were to guess at the form that the average US English
> > speaker would prefer, it would probably be something like:
> > 
> >     5/31/2002 5:07:29pm
> 
> Yes, that's great! It was always great fun to guess whether it is
> d/m/y or m/d/y. Some really wired minds use even y/m/d.
> 
> NO. Please stop this madness _now_ and use something like
> "yyyy-mm-dd hh:MM:ss" which everyone understands and where no one
> needs to guess.

Actuall My preference is for 
01 Jun 2002 9:49am +500.
That is the format that I always write dates in, just to be completely clear.
This completely disambiguates the month and day. Of course I'm not US English,
I'm Canadian English :)
> 
> -- 
> -- Josef Wolf -- jw@raven.inka.de --
> 
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     "Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Re: Human representation of dates, opinions

Posted by cm...@collab.net.
Josef Wolf <jw...@raven.inka.de> writes:

> On Fri, May 31, 2002 at 08:26:02PM -0700, Russ Allbery wrote:
> 
> > Oh, yeah, if I were to guess at the form that the average US English
> > speaker would prefer, it would probably be something like:
> > 
> >     5/31/2002 5:07:29pm
> 
> Yes, that's great! It was always great fun to guess whether it is
> d/m/y or m/d/y. Some really wired minds use even y/m/d.
> 
> NO. Please stop this madness _now_ and use something like
> "yyyy-mm-dd hh:MM:ss" which everyone understands and where no one
> needs to guess.

You guys sure are fussing alot about something that just can be
accurate for everyone.  Since there's bound to be time drift amongst
all the machines that will ever see any particular printed date, I say
we just use something like:

     Rou Ghly Y esterDAY
     Las Twee K sometIME
     Ess enti A llytoDAY

(spaces added for Karl's readability).

:-)

--C-Mike, 
  President, J. Pollock Bikeshed Designs.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Human representation of dates, opinions

Posted by Russ Allbery <rr...@stanford.edu>.
Josef Wolf <jw...@raven.inka.de> writes:
> On Fri, May 31, 2002 at 08:26:02PM -0700, Russ Allbery wrote:

>> Oh, yeah, if I were to guess at the form that the average US English
>> speaker would prefer, it would probably be something like:
>> 
>>     5/31/2002 5:07:29pm

> Yes, that's great! It was always great fun to guess whether it is
> d/m/y or m/d/y. Some really wired minds use even y/m/d.

> NO. Please stop this madness _now_ and use something like
> "yyyy-mm-dd hh:MM:ss" which everyone understands and where no one
> needs to guess.

You seem to have misunderstood my point, which was certainly not to
advocate an incredibly broken date format like that one.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Human representation of dates, opinions

Posted by Josef Wolf <jw...@raven.inka.de>.
On Fri, May 31, 2002 at 08:26:02PM -0700, Russ Allbery wrote:

> Oh, yeah, if I were to guess at the form that the average US English
> speaker would prefer, it would probably be something like:
> 
>     5/31/2002 5:07:29pm

Yes, that's great! It was always great fun to guess whether it is
d/m/y or m/d/y. Some really wired minds use even y/m/d.

NO. Please stop this madness _now_ and use something like
"yyyy-mm-dd hh:MM:ss" which everyone understands and where no one
needs to guess.

-- 
-- Josef Wolf -- jw@raven.inka.de --

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Human representation of dates, opinions

Posted by Russ Allbery <rr...@stanford.edu>.
David Mankin <ma...@ants.com> writes:

> Actually, after hearing from and having to support random web users, it
> seems that typical English-speaking Americans even prefer 5-31-02
> 5:07:29pm much more.  However, as a geek who likes dates to have lexical
> sorting == numeric sorting == chronological sorting, and fixed width,
> I'm quite happy with 2002-05-31 17:07:29.

Oh, yeah, if I were to guess at the form that the average US English
speaker would prefer, it would probably be something like:

    5/31/2002 5:07:29pm

I think you can get away with four-digit years these days without any real
complaints.

My point wasn't so much that ISO date format is people's preferred format
(although pretty much everyone understands it), but rather that %c
definitely *isn't* it.  Unless you've got a system that changes %c
drastically from C locale to en or en_US locale, but I've yet to see one
of those.

> Since I'm lazy, I prefer to see timestamps in (translated to) localtime.
> That way I never see commit datestamps in the future.  :-)

Likewise, actually.  (Although I do think that if one translates, one
should tack on a time zone just so that one isn't losing information.)

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Human representation of dates, opinions

Posted by David Mankin <ma...@ants.com>.
On Fri, 31 May 2002, Russ Allbery wrote:

> This English-speaking American likes 2002-05-31 17:07:29 quite a bit
> better than Fri May 31 17:07:29 2002, which is not my preferred date
> format by any stretch of the imagination.

Actually, after hearing from and having to support random web users, it
seems that typical English-speaking Americans even prefer
5-31-02 5:07:29pm much more.  However, as a geek who likes dates to
have lexical sorting == numeric sorting == chronological sorting, and
fixed width, I'm quite happy with 2002-05-31 17:07:29.

I don't have enough experience with international development to have a
valid preference on timezone issues.  Since I'm lazy, I prefer to see
timestamps in (translated to) localtime.  That way I never see commit
datestamps in the future.  :-)

-David Mankin


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org