Skip to content

Commit

Permalink
Merge branch 'main' into b19765-main-fe-change-text-auth-receipt-total
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHawks224 authored May 13, 2024
2 parents 16ddbb8 + 509a27f commit 7dd4447
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ func FormatSITDaysInStorage(ppm models.PPMShipment) string {
firstDate := ppm.SITEstimatedDepartureDate
secondDate := *ppm.SITEstimatedEntryDate
difference := firstDate.Sub(secondDate)
formattedDifference := fmt.Sprintf("Days: %d\n", int64(difference.Hours()/24))
formattedDifference := fmt.Sprintf("Days: %d\n", int64(difference.Hours()/24)+1)
return formattedDifference
}

Expand Down

0 comments on commit 7dd4447

Please sign in to comment.