Al and David, hello.

On 2006 Dec 10 , at 19.51, Alasdair Allan wrote:

> Norman Gray wrote:
>> Dates in Timeline's private format (US-style month-day-year with no
>> commas, and just GMT?) seem to be OK, but a standard format would be
>> nice.
>
> It isn't a private format, that's an RFC822 standard time stamp.

Is it?  RFC822 (Sect. 5.1) has

      date-time   =  [ day "," ] date time
      date        =  1*2DIGIT month 2DIGIT
      month       =  "Jan"  /  "Feb" /  "Mar"  /  "Apr"
                  /  "May"  /  "Jun" /  "Jul"  /  "Aug"
                  /  "Sep"  /  "Oct" /  "Nov"  /  "Dec"

And RFC2822 (Sect. 3.3) is much the same; neither has month-day- 
year.  I'd been giving it RFC2822 dates (as it happened, including  
the day-of-week) without success. [And thanks, Al, for the sample  
code a while back: as you can see, I _have_ been playing with it]



David Huynh wrote:

> Did you specify in your data files that you want iso8601?

No?  Aha: a bit of grepping finds Timeline.NativeDateUnit.getParser  
in src/webapp/api/scripts/units.js, and -- bingo -- the date-time- 
format attribute.  I'd found the mentions of the 8601 parser, but  
hadn't realised it had to be switched on explicitly.  That works:  
thanks.

On a separate note, David, Timeline _almost_ works fine in Safari  
(and my impression is that it works better now than when I first  
tried it).  Is there a story here about how you see that  
compatibility improving, either through changes from the Apple/Gecko  
end, or from the Simile direction?

All the best,

Norman


-- 
------------------------------------------------------------------------ 
----
Norman Gray  /  http://nxg.me.uk
eurovotech.org  /  University of Leicester, UK



_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to