tests mysql date formatter