Fixing DateFormat in BaseType