smallestUnit

The unit to round to. For example, to round to the nearest minute, use smallestUnit: 'minute'. This option is required. Note that the same-named property is optional when passed to until or since methods, because those methods do no rounding by default.