Gnus development mailing list
 help / color / mirror / Atom feed
From: Hrvoje Niksic <hniksic@srce.hr>
Subject: Re: gnus date suggestion
Date: 03 May 1997 17:13:07 +0200	[thread overview]
Message-ID: <kigbu6smvwc.fsf@jagor.srce.hr> (raw)
In-Reply-To: pinard@iro.umontreal.ca's message of 03 May 1997 10:53:27 -0400

pinard@iro.umontreal.ca (François Pinard) writes:

> The usual wrong thing with dates is using local American habits in
> wide distribution contexts (like mail and news) for when programs
> have *not* been internationalised, or by default.  ISO 8601 would be
> a good default.

Gnus is news software.  For a newsreader, I think it's best to heed
RFC1036.

2.1.2.  Date

    The "Date" line (formerly "Posted") is the date that the message was
    originally posted to the network.  Its format must be acceptable
    both in RFC-822 and to the getdate(3) routine that is provided with
    the Usenet software.  This date remains unchanged as the message is
    propagated throughout the network.  One format that is acceptable to
    both is:

                      Wdy, DD Mon YY HH:MM:SS TIMEZONE
[...]


I don't think ISO 8601 is allowed by RFC822, but I may be wrong.
SoR1036 is even stricter when defining the `Date':

    5.1. Date

    The  Date header contains the date and time when the article
    was submitted for transmission:

	 Date-content  = [ weekday "," space ] date space time
	 weekday       = "Mon" / "Tue" / "Wed" / "Thu"
		       / "Fri" / "Sat" / "Sun"
	 date          = day space month space year
	 day           = 1*2digit
	 month         = "Jan" / "Feb" / "Mar" / "Apr" / "May" / "Jun"
		       / "Jul" / "Aug" / "Sep" / "Oct" / "Nov" / "Dec"
	 year          = 4digit / 2digit
	 time          = hh ":" mm [ ":" ss ] space timezone
	 timezone      = "UT" / "GMT"
		       / ( "+" / "-" ) hh mm [ space "(" zone-name ")" ]
	 hh            = 2digit
	 mm            = 2digit
	 ss            = 2digit
	 zone-name     = 1*( <ASCII printable character except ()\> / space )

    This is a restricted subset of the MAIL date format.

As you can see, Gnus already emits the correct date, but having the
weekday would be desirable both for humans and rfc recommendation.

I think following ISO 8601 would be the wrong thing in this case.
Yes, internationalization is a fine thing.  But here we are talking
about Usenet software.  If the software we help create doesn't conform
to the RFCs, how can we expect the others to conform?

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
ED WILL NOT CORRUPT YOUR PRECIOUS BODILY FLUIDS!!


  reply	other threads:[~1997-05-03 15:13 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-01-12 19:12 Jason R. Mastaler
1997-01-12 22:07 ` David Moore
1997-01-15  1:09   ` Lars Magne Ingebrigtsen
1997-05-01 14:21   ` Jason R. Mastaler
1997-05-01 21:30     ` François Pinard
1997-05-03  4:17       ` Jason R. Mastaler
1997-05-03 14:53         ` François Pinard
1997-05-03 15:13           ` Hrvoje Niksic [this message]
1997-05-03 16:41             ` Lars Magne Ingebrigtsen
1997-05-05  6:45               ` Steinar Bang
1997-05-08 12:39                 ` Lars Magne Ingebrigtsen
1997-05-03 17:31             ` Jason R. Mastaler
1997-08-05 23:07             ` François Pinard
     [not found]               ` <x73eooi146.fsf@peorth.gweep.net>
1997-08-08  5:43                 ` Greg Stark
1997-05-03 15:35           ` Johan Danielsson
1997-08-05 22:59             ` François Pinard
1997-08-06 23:11               ` Kyle Jones
1997-08-07 16:32                 ` Johan Danielsson
1997-10-21 14:04                 ` François Pinard
1997-10-21 19:03                   ` Jason R Mastaler
1997-10-21 19:59                     ` Valdis.Kletnieks
1998-02-08 19:06                     ` François Pinard
1998-02-08 19:55                       ` Lars Magne Ingebrigtsen
1998-02-08 20:09                       ` Kyle Jones
1998-02-09  1:13                         ` François Pinard
1998-02-09 10:06                           ` Per Abrahamsen
1998-02-09 15:31                           ` Lars Magne Ingebrigtsen
1998-02-08 22:53                       ` Jason R Mastaler
1998-02-09  3:49                       ` Stephen J. Turnbull
1998-02-09 15:49                         ` Lars Magne Ingebrigtsen
1997-05-03  8:14       ` David Moore
1997-05-04  0:00       ` Ken Raeburn
1997-05-02  4:53     ` Paul Graham
1997-05-02  5:17       ` Jason R. Mastaler
1997-05-03  8:19     ` David Moore
1997-05-03  8:40       ` Steven L Baur
1997-05-03  9:15         ` Hrvoje Niksic
1997-05-03  8:58       ` Per Abrahamsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=kigbu6smvwc.fsf@jagor.srce.hr \
    --to=hniksic@srce.hr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).