Set date in Python, not JS