handling \DateTime product variations

In order to handle datetime product variations, a format was added in getVariationsChoices. 
I don't really think this is the right place to add this, but that natcasesort was throwing an error.
Is there a better place for this ?