trackStyle is a global variable, date format is ok