Bug: Wrong timezone handling in about:certificate display
Status: RESOLVED
Priority: --
Resolution: INVALID
Created: 2020-05-25 22:27:49+00:00
Resolved: 2020-05-25 22:38:36+00:00

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:77.0) Gecko/20100101 Firefox/77.0

Steps to reproduce:

Go to about:certificate?cert=MIIFmzCCBIOgAwIBAgISBDanPam1ySP%2BeoPYpwzXcuEsMA0GCSqGSIb3DQEBCwUAMEoxCzAJBgNVBAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MSMwIQYDVQQDExpMZXQncyBFbmNyeXB0IEF1dGhvcml0eSBYMzAeFw0yMDA1MjUyMTEyMTVaFw0yMDA4MjMyMTEyMTVaMBcxFTATBgNVBAMTDHNoaW4ubm95dS5tZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKHmPEwCOwNlJUPoI%2BWAKo6rcXQ4oaf2EDG2IbNLlbTtPyEqPhCV2c%2BcKNo3U0KF0a%2BQNtJlfLKvYdxYhWde2aV%2FQPt6tX363m3ZnaHLtJvv%2FYPqXgMC17r6mDO%2Ff9IW%2FXQe%2FUYjWdz%2B%2FMN49kAxDYUjEz992rdsuFKRbjXbeLYb%2B8ldJiq98%2BB4w4kOGyFY4EF8deLfUO7pdrjW6uOwKZKnk6TsMTnexc9MW4gOqUaeiSVUSZKCPrG4JkFxhMdSFtc5eLn3MR8RCmkzuGXVwjhIW%2Fa2FqpRemzgxJ9JoLI5XxONej5HxNIniIWfSSbFTVTGejLeXvabZHsndRf%2BrScCAwEAAaOCAqwwggKoMA4GA1UdDwEB%2FwQEAwIFoDAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDAYDVR0TAQH%2FBAIwADAdBgNVHQ4EFgQU0FJ7vEYu9R%2FuYiW9dbL%2Fa3Z1QNAwHwYDVR0jBBgwFoAUqEpqYwR93brm0Tm3pkVl7%2FOo7KEwbwYIKwYBBQUHAQEEYzBhMC4GC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IYepLYYHsUmu5ouJLGiifSKOeDNoJjj4XLh7dIN9bxiqKqy69cK3FCxolkHRyxXtqqzTWMIn%2F5WgTe1QLyNau7Fqckh49ZLOMxt%2B%2FyUFw7BZy1SbsOFU5Q9D8%2FRhcQPGX69Wam40dutolucbY38EVAjqr2m7xPi71XAicPNaDaeQQmxkqtilX4%2BU9m5%2FwAl0CAwEAAaNCMEAwDwYDVR0TAQH%2FBAUwAwEB%2FzAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFMSnsaR7LHH62%2BFLkHX%2FxBVghYkQMA0GCSqGSIb3DQEBBQUAA4IBAQCjGiybFwBcqR7uKGY3Or%2BDxz9LwwmglSBd49lZRNI%2BDT69ikugdB%2FOEIKcdBodfpga3csTS7MgROSR6cz8faXbauX%2B5v3gTt23ADq1cEmv8uXrAvHRAosZy5Q6XkjEGB5YGV8eAlrwDPGxrancWYaLbumR9YbK%2BrlmM6pZW87ipxZzR8srzJmwN0jP41ZL9c8PDHIyh8bwRLtTcm1D9SZImlJnt1ir%2Fmd2cXjbDaJWFBM5JDGFoqgCWjBH4d1QB7wCCZAA62RjYJsWvIjJEubSfZGL%2BT0yjWW06XyxV3bqxbYoOb8VZRzI9neWagqNdwvYkQsEjgfbKbYK7p2CNTUQ (certificate for some domains I own) in Firefox 77.0b9 (64-bit) on macOS


Actual results:

> Validity
> Not Before 5/25/2020, 11:12:15 PM (Central European Summer Time)
> Not After 8/23/2020, 11:12:15 PM (Central European Summer Time)


Expected results:

> Validity
> Not Before 5/26/2020, 12:12:15 AM (Central European Summer Time)

(Probably the Not After date should be corrected in the same way.)

It seems to be showing the time with the CET offset, UTC+01:00, yet it says it is CEST (which is UTC+02:00), i.e. the time is one hour off due to some kind of DST error (CET is winter time, CEST is summer time, it is CEST right now). It would be impossible for this certificate to have been issued at 11:12:15 PM CEST, it is 12:27 AM CEST right now and I issued it within the last half-hour :)

I am assuming here that it is Firefox and not the certificate that is wrong.