File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -675,14 +675,15 @@ def parse(self):
675
675
title = title_block .GetTitle ()
676
676
revision = title_block .GetRevision ()
677
677
company = title_block .GetCompany ()
678
+ file_date = title_block .GetDate ()
678
679
if (hasattr (self .board , "GetProject" ) and
679
680
hasattr (pcbnew , "ExpandTextVars" )):
680
681
project = self .board .GetProject ()
681
682
title = pcbnew .ExpandTextVars (title , project )
682
683
revision = pcbnew .ExpandTextVars (revision , project )
683
684
company = pcbnew .ExpandTextVars (company , project )
685
+ file_date = pcbnew .ExpandTextVars (file_date , project )
684
686
685
- file_date = title_block .GetDate ()
686
687
if not file_date :
687
688
file_mtime = os .path .getmtime (self .file_name )
688
689
file_date = datetime .fromtimestamp (file_mtime ).strftime (
You can’t perform that action at this time.
0 commit comments