Update CalculateStringPeriod.js