Non-gregorian/julian dates create incorrect statistic charts