Fix typo in variable, cosmetic change
Try to prevent strptime thread safety issue