Hey,

It's pretty odd, in the gadgets documentation it says, at:
http://code.google.com/apis/gadgets/docs/remote-content.html#Fetch_Feed

"Date. Timestamp for this entry in seconds since Jan 1, 1970. To
convert it to the milliseconds needed to initialize a JavaScript Date
object with the correct date, multiply by 1000. See the sample gadget
code below for an example."

But when I initialize it in my code as such, it render an incorrect
date, it looks like you don't need to multiply by 1000 at all. I
initialize my date object like this:

var itemDate = new Date(feed.Entry[index].Date);

and that seems to work fine. Is there a bug somewhere (or else there's
one in the documentation)?

--
Alper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iGoogle Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Gadgets-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to