Google Charts IE7 IE8 Issue: Date formatting problem
Read OriginalThe article details a technical problem where Google Charts fails to display dates correctly in IE7/IE8, showing January 1, 1970 instead. The root cause is IE's inability to parse date strings in 'YYYY-MM-DD' format. The solution involves using conditional comments for browser detection and applying a string replacement ('-' to '/') only for legacy IE versions, ensuring cross-browser compatibility.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser
Top of the Week
No top articles yet