#1053 Time not displayed properly in UI
Closed: Fixed None Opened 13 years ago by rcritten.

from freeipa-users:

So I have registered 1 client and 2 ipa masters as of 4th march 2011 NZST, but the IPA server's gui says I registered them a month in the future, ie 3rd April 2011 GMT+12 NZST


The month in krblastpwdchange (LDAP Generalized Time) is 1-based
but the month in JavaScript Date.setUTCFullYear() is 0-based so it
needs a conversion.

See the following links:
- http://rfc-ref.org/RFC-TEXTS/4517/chapter3.html
- http://www.w3schools.com/jsref/jsref_setutcfullyear.asp

Metadata Update from @rcritten:
- Issue assigned to edewata
- Issue set to the milestone: FreeIPA 2.0.3 RC3 (bug fixing)

7 years ago

Login to comment on this ticket.

Metadata