Precise Expansion Patterns (was: Re: [uf-discuss] Hcalendar in bbc.co.uk/programmes)

Martin McEvoy martin at weborganics.co.uk
Sat Dec 15 02:43:46 PST 2007


On Sat, 2007-12-15 at 13:36 +1300, Paul Wilkins wrote:
> On Dec 15, 2007 1:21 PM, Martin McEvoy <martin at weborganics.co.uk> wrote:
> > On Sat, 2007-12-15 at 12:33 +1300, Paul Wilkins wrote:
> > > On Dec 15, 2007 12:18 PM, Martin McEvoy <martin at weborganics.co.uk> wrote:
> > > > you could perhaps do PT3:23 ? which seems more accurate
> > > Then it won't be able to be parsed as an actual time.
> >
> > hmm are you sure? 3:23 is expressed as whole plus a decimal fraction
> 
> That's if you use a comma or a fullstop. With the full colon it's
> interpreted as hours and minutes.
> [QUOTE]

You are correct thank you :)

> It is also acceptable to omit elements to reduce precision. [hh]:[mm],
> [hh][mm] and [hh] are all used.
> 
> Decimal fractions may also be used with any of the three time
> elements. These are indicated by using the decimal point (either a
> comma (which is preferred ISO 31) or dot). A fraction may only refer
> to the most precise component of a time representation. To denote "14
> hours, 30 and one half minutes", do not include a seconds figure.
> Represent it as "14:30,5" or "1430,5".
> [/QUOTE]
> 



More information about the microformats-discuss mailing list