Cleaned up date format def. Instead of using a locale one can specify the date format separately from the datepart separator.