Groups
Groups
Sign in
Groups
Groups
Google Visualization API
Conversations
About
Send feedback
Help
Is this a bug? - http://code.google.com/apis/chart/interactive/docs/gallery/annotatedtimeline.html graph should show january from the data
9 views
Skip to first unread message
roy
unread,
Jun 14, 2011, 3:01:11 AM
6/14/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Visualization API
Is this a bug
http://code.google.com/apis/chart/interactive/docs/gallery/annotatedtimeline.html
the date should be January but is showing as february
Riccardo Govoni
unread,
Jun 14, 2011, 5:19:47 AM
6/14/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-visua...@googlegroups.com
Javascript Date objects count months from 0 (
https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Date
), so the "new Date(2008, 1, 1)" is indeed the first day of February ( January being month 0, February is month 1 and so on).
/R.
Reply all
Reply to author
Forward
0 new messages