fix bug in date formatter