setting default locale to fr for date format