Moved time-parsing code into laminate