mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix error extracting date in manpage generator
Error from recent cleanup 0e3bc2e321
This commit is contained in:
parent
1241e91707
commit
d3cb1d845b
1 changed files with 0 additions and 1 deletions
|
|
@ -87,7 +87,6 @@ def blender_extract_info(blender_bin: str) -> Dict[str, str]:
|
|||
# Happens when built without WITH_BUILD_INFO e.g.
|
||||
date_string = time.strftime("%B %d, %Y", time.gmtime(int(os.environ.get('SOURCE_DATE_EPOCH', time.time()))))
|
||||
else:
|
||||
blender_date = blender_date.strip().partition(" ")[2] # Remove 'date:' prefix.
|
||||
date_string = time.strftime("%B %d, %Y", time.strptime(blender_date, "%Y-%m-%d"))
|
||||
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue