Set each selected duration unit to the full value of the full given duration.
Select which duration units to equalize to.
Optional
import {equalizeDuration} from 'date-vir';equalizeDuration({seconds: 5_356_800}, {weeks: true, seconds: true});// `{weeks: 8, seconds: 518_400}` Copy
import {equalizeDuration} from 'date-vir';equalizeDuration({seconds: 5_356_800}, {weeks: true, seconds: true});// `{weeks: 8, seconds: 518_400}`
Set each selected duration unit to the full value of the full given duration.