akira added the comment:

The point of the locale issue is that "notBefore", "notAfter" strings do not 
change if your locale changes. You don't need a new regex for each locale.

I've attached ssl_cert_time_seconds.py file that contains example 
cert_time_to_seconds(cert_time) implementation that fixes both the timezone and 
the locale issues.

----------
Added file: http://bugs.python.org/file34197/ssl_cert_time_seconds.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19940>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to