1👍
There are multiple problems with your code, the one that initially causes the issue is the fact that your jsToPythonTime
method doesn’t return anything.
re.findall
returns the matches so it will never equal an integer and hence it never enters the if/elif statements..
time.mktime
requires a single argument of a tuple of length 9.
You then go on to convert what you believe the time to be to a string then back to an integer which just baffles me.
Source:stackexchange.com