[Zope3-dev] Re: rendering hours in a 12 hour clock

Tres Seaver tseaver at zope.com
Wed Sep 24 06:59:49 EDT 2003


On Tue, 2003-09-23 at 23:38, Paul Winkler wrote:
> On Tue, Sep 23, 2003 at 08:26:16PM -0500, Garrett Smith wrote:
> > Just to be clear, you're in agreement that 12 hour noon is "12:00 PM" 
> > and not "00:00 PM"? (Not sure if you're saying the docs should be 
> > updated, or the code changed.)
> 
> well, if the intention is to model US convention, then:
> - the day begins at 12:00 AM
> - morning ends at 11:59.99999 AM
> - afternoon begins at 12:00 PM
> - after 12:59 PM comes 1:00 PM
> - the day ends at 11:59.999999 PM
> - there is never any hour 0 
> 
> totally daft, but that's the way we do it :-)

Heh, small quibble:

  - afternoon begins at 12:00:000001 PM
  - Noon is 12:00 M  (it can't be "post meridian", as it
    *is* the meridian).

But *nobody* gets this right, so we shouldn't bother modeling it.

Pedantical'ly,

Tres.
-- 
===============================================================
Tres Seaver                                tseaver at zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com




More information about the Zope3-dev mailing list