format client-side date rendering according to server language.