Added fix for a bug relating to dates with no times
Added fix for a bug relating to dates with no times

relates to the fact that a trim() in extractElement, removes the last
space of “ ~ ”, preventing explosion around this sequence.

jwcarr/SimpleSignUp,jwcarr/SimpleSignUp,jwcarr/SimpleSignUp