Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-56145

License countdown is incorrect

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 6.12.0
    • 5.10.9
    • Data Center - Core
    • None

      On 'License' admin screen Confluence does not show expiration date. Instead it shows count down time to license expiration in form '3 month 23 days 8 hours'.

      This countdown is calculated incorrectly. If you add current time with countdown value, you will not get license expiration time. The root cause of the problem is the way how Connie calculates the difference:

      If subtracts current timestamp from license expiration timestamp and tries to convert this to month assuming there's always 31 days in month. The problematic method is com.atlassian.core.util.DateUtils#dateDifference is used in ViewOrUpdateLicenseAction#getExpiryTime.

       

              mbereznitsky Mark Bereznitsky
              epyshnograev Efim (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: