Deobfuscate the code.

This code is 100% compatible with the previous version.
Remove unused junk code.

Note that the result of strptime is not captured and used,
this function raises a TypeError if it receives a string as
an argument.