Allowing custom date formatting for google charts and highcharts