[whatwg] [wf2] Leap seconds, dates in the past

Ian Hickson ian at hixie.ch
Wed Oct 22 08:37:38 PDT 2008


On Fri, 18 Aug 2006, Gervase Markham wrote:
>
> Henri Sivonen wrote:
> > Could you elaborate on the use cases? Are there a lot of use cases on 
> > the Web now that force site author to hack awkward JavaScript widgets 
> > themselves? Can't they continue using those hacks for uses cases that 
> > are not mainstream like airline reservations?
> 
> Could we perhaps make the functions which do date calculation and 
> differencing pluggable? That is to say, we expose them on the DOM of the 
> widget, so you can do:
> 
> function gervsSubtractDates()
> {
>   ...
> }
> 
> myWidget.subtractDates = gervsSubtractDates()
> 
> That way, you could have a calendar widget that defaulted to Gregorian 
> but could be hacked by specialist web pages to display other sorts of 
> calendar.
> 
> Note I haven't thought this through very well - it may be rubbish :-)

On Fri, 18 Aug 2006, Henri Sivonen wrote:
>
> Sounds like architecture astronautics to me.
>
> I expect a widget designed for choosing Gregorian dates to be unsuited 
> for arbitrary calendars.

On Fri, 18 Aug 2006, Gervase Markham wrote:
>
> It's a fair cop, guv.
> 
> That is, you are probably right :-)

I agree with Henri - I'm not sure this solves the problem really. I'm also 
not sure the problem is one we should worry about solving yet. We need 
more experience with calendars first.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list