Add fix and test for alternate datatypes

Test is only for Trigger, though the problem sometimes occurs (without
damage) with Date vs DateTime (the date time parser handles dates just
fine)
Merge pull request #25 from cwohlman/fix/useAltDataType

Add fix and test for alternate datatypes