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
The text was updated successfully, but these errors were encountered:
hugy718
changed the title
Age in month and year are not equivalent to fix-day interval
Age in month and year are not equivalent to fixed-day interval
Jun 8, 2023
Problem
The current age calculation for week/month/year is based on translation to the fixed day interval:
COOL/cool-core/src/main/java/com/nus/cool/core/cohort/utils/DateUtils.java
Lines 70 to 75 in 80070ff
Needs to use the date object to generate the difference directly and add tests to cover these cases.
This is related to issue #134, PR #135
The text was updated successfully, but these errors were encountered: