9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Andrew Simmons" <andrew.simmons@monitorbm.co.nz>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Fix to tm2sec().
Date: Mon, 20 Jan 2003 09:43:15 +1300	[thread overview]
Message-ID: <3E2BC4B3.12419.19E0784E@localhost> (raw)

> I strenuously object to changing the meaning of tm->year.

I'd second the strenuous objection. The 1900 base is not just a Unix 
thing - as far as I know it's part of ANSI C. It certainly works the 
same way in every C implementation I've used, on Mac, Windows, & VMS. 
Even though struct Tm isn't quite the same as struct tm, I'd hate to 
see them made even more subtly incompatible. As Doug Gwyn said the 
other day, standards have a purpose. 

I'd be fine with the change to make Mr Presotto's birthday day 1 (or 
should it be day 0?) though. I believe the standard is silent on this 
point.


             reply	other threads:[~2003-01-19 20:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-19 20:43 Andrew Simmons [this message]
2003-01-19 21:33 ` Dan Cross
2003-01-19 21:48   ` rob pike, esq.
  -- strict thread matches above, loose matches on Subject: below --
2003-01-20  6:49 Andrew Simmons
2003-01-20  7:21 ` Russ Cox
2003-01-20 13:55 ` David Presotto
2003-01-18 23:03 Dan Cross
2003-01-18 23:07 ` David Presotto
2003-01-18 23:12   ` Dan Cross
2003-01-19  0:10 ` Russ Cox
2003-01-19  0:20   ` Dan Cross

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=3E2BC4B3.12419.19E0784E@localhost \
    --to=andrew.simmons@monitorbm.co.nz \
    --cc=9fans@cse.psu.edu \
    /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).