Fix bug on parser

pass correct information to DateAndTime constructor