fix bug in abbreviateTimeLabels [issue 313]