[MKDoc-dev] Re: [BUG] [1.6] TimeRange dates should be displayed better

Bruno Postle bruno at mkdoc.com
Fri Jan 7 13:44:21 GMT 2005


On Mon 03-Jan-2005 at 14:15 +0000, Bruno Postle wrote:

> the datelines are far too noisy.

I've updated 1.6 CVS with a fix:

  http://lists.webarch.co.uk/pipermail/mkdoc-commit/2005-January/000642.html

The rendering has also been split into a macro to reduce some 
duplicate code.

I've removed the timezone temporarily.  Ideally we would have a 
method which hid the timezone if it matched the environment of the 
site itself.

The newsletter hasn't been updated yet, so that still has the old 
formatting.

> It should be cleaner:

  8:00am to 11:00am Sunday 13 February 2005

> ..or when it spans more than one day:

  1:00am Friday 6 January, to 12:00am Sunday 12 February 2006

> It should only show the long form when the event spans more than 
> one year:

  4:00pm Friday 6 January 2006, to 12:00am Sunday 6 January 2013

-- 
Bruno


More information about the MKDoc-dev mailing list