diff --git a/doc/python_api/conf.py b/doc/python_api/conf.py index 02f95930ae2..0fe27d0c991 100644 --- a/doc/python_api/conf.py +++ b/doc/python_api/conf.py @@ -12,7 +12,7 @@ BLENDER_REVISION = "${BLENDER_REVISION}" BLENDER_REVISION_TIMESTAMP = "${BLENDER_REVISION_TIMESTAMP}" BLENDER_VERSION_DATE = time.strftime( "%d/%m/%Y", - time.localtime(BLENDER_REVISION_TIMESTAMP if BLENDER_REVISION_TIMESTAMP != "0" else None), + time.localtime(int(BLENDER_REVISION_TIMESTAMP) if BLENDER_REVISION_TIMESTAMP != "0" else None), ) if BLENDER_REVISION != "Unknown":