old-www/pub/Linux/docs/ldp-archived/mail_archives/ldp-discuss/msg04631.html

181 lines
7.6 KiB
HTML

<!-- MHonArc v2.5.0b2 -->
<!--X-Subject: Re: date formats -->
<!--X-From-R13: Egrva Uwbra <ftwbraNznvy.alk.arg> -->
<!--X-Date: Mon, 11 Dec 2000 08:37:56 &#45;0500 (EST) -->
<!--X-Message-Id: 3A34D948.1F45A29E@mail.nyx.net -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 20001207090627.A11176@lupercalia.net -->
<!--X-Reference: 10012071040.ZM18879@hoop.timonium.sgi.com -->
<!--X-Reference: 2aSyJ.A.EhF.Tc8L6@murphy -->
<!--X-Reference: 20001207123101.A14064@lupercalia.net -->
<!--X-Reference: 20001207192556.A158@localhost -->
<!--X-Reference: 3A329352.B9B7A568@eunet.yu -->
<!--X-Reference: 20001210224903.A180@localhost -->
<!--X-Reference: 3A347A7B.8D66A533@storm.ca -->
<!--X-Reference: 3A349131.5877A798@mail.nyx.net -->
<!--X-Reference: 20001211081314.B1252@lupercalia.net -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN">
<html>
<head>
<title>Re: date formats</title>
<link rev="made" href="mailto:sgjoen@mail.nyx.net">
</head>
<body>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->
<hr>
[<a href="msg04630.html">Date Prev</a>][<a href="msg04632.html">Date Next</a>][<a href="msg04630.html">Thread Prev</a>][<a href="msg04633.html">Thread Next</a>][<a href="maillist.html#04631">Date Index</a>][<a href="threads.html#04631">Thread Index</a>]
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<h1>Re: date formats</h1>
<hr>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<ul>
<li><em>To</em>: </li>
<li><em>Subject</em>: Re: date formats</li>
<li><em>From</em>: Stein Gjoen &lt;<A HREF="mailto:sgjoen@mail.nyx.net">sgjoen@mail.nyx.net</A>&gt;</li>
<li><em>Date</em>: Mon, 11 Dec 2000 14:40:25 +0100</li>
<li><em>Cc</em>: <A HREF="mailto:ldp-discuss@lists.debian.org">ldp-discuss@lists.debian.org</A></li>
<li><em>References</em>: &lt;<a href="msg04593.html">20001207090627.A11176@lupercalia.net</a>&gt; &lt;<a href="msg04594.html">10012071040.ZM18879@hoop.timonium.sgi.com</a>&gt; &lt;<a href="msg04600.html">2aSyJ.A.EhF.Tc8L6@murphy</a>&gt; &lt;<a href="msg04601.html">20001207123101.A14064@lupercalia.net</a>&gt; &lt;<a href="msg04614.html">20001207192556.A158@localhost</a>&gt; &lt;<a href="msg04622.html">3A329352.B9B7A568@eunet.yu</a>&gt; &lt;<a href="msg04625.html">20001210224903.A180@localhost</a>&gt; &lt;<a href="msg04627.html">3A347A7B.8D66A533@storm.ca</a>&gt; &lt;<a href="msg04628.html">3A349131.5877A798@mail.nyx.net</a>&gt; &lt;<a href="msg04630.html">20001211081314.B1252@lupercalia.net</a>&gt;</li>
<li><em>Resent-date</em>: Mon, 11 Dec 2000 08:37:56 -0500 (EST)</li>
<li><em>Resent-from</em>: <A HREF="mailto:ldp-discuss@lists.debian.org">ldp-discuss@lists.debian.org</A></li>
<li><em>Resent-message-id</em>: &lt;eCa2lB.A.20E.vlNN6@murphy&gt;</li>
<li><em>Resent-sender</em>: <A HREF="mailto:ldp-discuss-request@lists.debian.org">ldp-discuss-request@lists.debian.org</A></li>
</ul>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<hr>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<pre>
David Merrill wrote:
&gt; On Mon, Dec 11, 2000 at 09:32:49AM +0100, Stein Gjoen wrote:
&gt; &gt; Since SGML is supposed to help authors follow a strict grammar, why not
&gt; &gt; use it to the fullest here? How about something like this:
&gt; &gt; &lt;date&gt;
&gt; &gt; &lt;year&gt;2000&lt;/year&gt;
&gt; &gt; &lt;month&gt;12&lt;/month&gt;
&gt; &gt; &lt;date&gt;11&lt;/date&gt;
&gt; &gt; &lt;/date&gt;
&gt; &gt;
&gt; &gt; or
&gt; &gt;
&gt; &gt; &lt;date&gt;
&gt; &gt; &lt;year&gt;2000&lt;/year&gt;
&gt; &gt; &lt;week&gt;49&lt;/week&gt;
&gt; &gt; &lt;/date&gt;
&gt; &gt;
&gt; &gt; If you are used to SGML the added verbosity should not be a problem.
&gt; &gt; This then also simplifies date reformatting into style used in other
&gt; &gt; countries.
&gt;
&gt; Are you talking docbook or linuxdoc here?
I was thinking of both.
&gt; Either way, it seems to me that using ISO dates (YYYY-MM-DD)
&gt; accomplishes the same thing with less complexity. If we were just now
&gt; designing db, I *might* agree with you. But there has to be a pretty
&gt; clear benefit to making a change of this type to an existing standard,
&gt; and I don't see one.
It would seem to me that verifying correct date format with sgmlcheck
or equivalent is simpler the way I suggested it. Also it forces the
author to keep the problem in mind while converters can format using
locale settings to a more familiar formats for reading.
Time/date can be presented in a number of ways and stated with a
great range of precision. Having lived in countries that present
dates as MM-DD-YYYY, DD-MM-YYYY and YYYY-MM-DD I can see the
benefits of forcing the author here.
Trivia2: in Japan year is occationally stated as the year of the
emperor's reign.
&lt;date&gt;
&lt;emperor&gt;Heisei&lt;/emperor&gt;
&lt;year&gt;20&lt;/year&gt;
&lt;/date&gt; (Am I Close??)
Trivia2b: I have heard that in England some kind of legal documents
are dated by the year of the regent.
&lt;date&gt;
&lt;regent type=&quot;Queen&quot; issue=&quot;II&quot;&gt;Elisabeth&lt;/regent&gt;
&lt;year&gt;30&lt;/year&gt;
&lt;/date&gt; (Definitely not quite correct here)
Well, that is enough merriment from me on a Monday morning.
Exuberantly,
Stein Gjoen
--
To UNSUBSCRIBE, email to ldp-discuss-request@lists.debian.org
with a subject of &quot;unsubscribe&quot;. Trouble? Contact listmaster@lists.debian.org
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="04593" href="msg04593.html">date formats</a></strong>
<ul><li><em>From:</em> David Merrill &lt;dmerrill@lupercalia.net&gt;</li></ul></li>
<li><strong><a name="04594" href="msg04594.html">Re: date formats</a></strong>
<ul><li><em>From:</em> &quot;Greg Ferguson&quot; &lt;gferg@hoop.timonium.sgi.com&gt;</li></ul></li>
<li><strong><a name="04600" href="msg04600.html">Re: date formats</a></strong>
<ul><li><em>From:</em> Gregory Leblanc &lt;gleblanc@cu-portland.edu&gt;</li></ul></li>
<li><strong><a name="04601" href="msg04601.html">Re: date formats</a></strong>
<ul><li><em>From:</em> David Merrill &lt;dmerrill@lupercalia.net&gt;</li></ul></li>
<li><strong><a name="04614" href="msg04614.html">Re: date formats</a></strong>
<ul><li><em>From:</em> David Lawyer &lt;dave@lafn.org&gt;</li></ul></li>
<li><strong><a name="04622" href="msg04622.html">Re: date formats</a></strong>
<ul><li><em>From:</em> Miroslav Skoric &lt;m.skoric@EUnet.yu&gt;</li></ul></li>
<li><strong><a name="04625" href="msg04625.html">Re: date formats</a></strong>
<ul><li><em>From:</em> David Lawyer &lt;dave@lafn.org&gt;</li></ul></li>
<li><strong><a name="04627" href="msg04627.html">Re: date formats</a></strong>
<ul><li><em>From:</em> Sandy Harris &lt;sandy@storm.ca&gt;</li></ul></li>
<li><strong><a name="04628" href="msg04628.html">Re: date formats</a></strong>
<ul><li><em>From:</em> Stein Gjoen &lt;sgjoen@mail.nyx.net&gt;</li></ul></li>
<li><strong><a name="04630" href="msg04630.html">Re: date formats</a></strong>
<ul><li><em>From:</em> David Merrill &lt;dmerrill@lupercalia.net&gt;</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg04630.html">Re: date formats</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg04632.html">Re: Feedback</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg04630.html">Re: date formats</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg04633.html">Re: date formats</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#04631"><strong>Date</strong></a></li>
<li><a href="threads.html#04631"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>