Python's datetime.datetime.strftime supports formatting directives for dates and times, such as %d for zero-padded days and %m for zero-padded months. While there are platform-specific ways to get non ...
How can we fix this? In the first example we can see the problem: {% include file="examples/python/datetime_json_fails.py" %} The first call to json.dumps works ...