supports set locale and date format