Incorrect Expiry Date Calculation for 10-Year Lifetime Access #88
Labels
No Label
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: AcuPedia/acupedia-store-ui#88
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When a user purchases a module with 1-year access, the expiry date is correctly calculated as 365 days. However, for 10-year lifetime access, the system does not correctly account for leap years. For example, if a user purchases a module on 5 November 2026, the expiry date should be 5 November 2036, but the system displays 2 November 2036. The expiry date should be calculated correctly by accounting for leap days.
please correct
Our calculation purpose we could say that 1 year = 365 days. One thing we could do here is specify 10-year(3650 days) lifetime access.