allow text arguments to fromMoment() and toMoment()