Get only distinct enum values for DateTime format

fixes #17