lib/date.js
function getAdjustedUnitForNumber(ms) {
  return getAdjustedUnit(ms, function(unit) {
    return trunc(withPrecision(ms / unit.multiplier, 1));
  });
}
function getAdjustedUnitForNumber(ms) {
  return getAdjustedUnit(ms, function(unit) {
    return trunc(withPrecision(ms / unit.multiplier, 1));
  });
}
function getAdjustedUnitForNumber ( ms ) { return getAdjustedUnit ( ms , function ( unit ) { return trunc ( withPrecision ( ms / unit . multiplier , 1 ) ) ; } ) ; }
Gets the adjusted unit based on simple division by date unit multiplier.
Gets the adjusted unit based on simple division by date unit multiplier .