Opened 15 years ago
Closed 15 years ago
#478 closed defect (fixed)
Addmonth() returns invalid date time
Reported by: | romicadascalescu | Owned by: | romicadascalescu |
---|---|---|---|
Priority: | major | Milestone: | 3.5.0 |
Component: | FDO API | Version: | 3.4.0 |
Severity: | 3 | Keywords: | |
Cc: | External ID: |
Description
Evaluating Addmonth(Currentdate(),-6) returns invalid date time.
Note:
See TracTickets
for help on using tickets.
There was a wrong sign when we calculated the resulted Month. replaced "dt.month = 12 - (curr_month + num_of_months);" with "dt.month = 12 + (curr_month + num_of_months);"