make mozilla work again (needs -moz-border-box still, wtf?!)
trim timestamps before trying to parse them - the DateTime class doesn't do this on its own