You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Total duration counts a year as 365 days without consideration of the leap year.
Average month is also calculated as 30.3 days.
So when Total duration is converted into days, it is not very precise:
leap year shows 1year+1 day, however, part duration shows a correct division. The warning says that duration is too long, however, '6 month' in the part time is less than '6 m 12 hours' in the warning
regular year: part is calculated as 6 months and 12h, when in fact it's 182d + 12h (or 6 months)
Expected: values should be precise, values on the warning should match the value in the Part duration field.
The text was updated successfully, but these errors were encountered:
elena-zh
added
Bug
Something isn't working
Low
Severity indicator for defects. It won't cause any major break-down of the system
TWAP
labels
Jan 9, 2024
elena-zh
changed the title
TWAP: year and month calculation is not very precise
[1.55] TWAP: year and month calculation is not very precise
Jan 15, 2024
Related to #3568
Total duration counts a year as 365 days without consideration of the leap year.
Average month is also calculated as 30.3 days.
So when Total duration is converted into days, it is not very precise:
leap year shows 1year+1 day, however, part duration shows a correct division. The warning says that duration is too long, however, '6 month' in the part time is less than '6 m 12 hours' in the warning
regular year: part is calculated as 6 months and 12h, when in fact it's 182d + 12h (or 6 months)
Expected: values should be precise, values on the warning should match the value in the Part duration field.
The text was updated successfully, but these errors were encountered: