Jacob Tomlinson 11/28/2013

Google Charts IE7 IE8 Issue: Date formatting problem

Read Original

The 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.

Google Charts IE7 IE8 Issue: Date formatting problem

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

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes