summaryrefslogtreecommitdiff
path: root/kicad/pl-render.c
diff options
context:
space:
mode:
Diffstat (limited to 'kicad/pl-render.c')
-rw-r--r--kicad/pl-render.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kicad/pl-render.c b/kicad/pl-render.c
index e5d674b..7bd697d 100644
--- a/kicad/pl-render.c
+++ b/kicad/pl-render.c
@@ -35,6 +35,8 @@
bool suppress_page_layout = 0;
+const char *date_override = NULL;
+
/*
* Eeschema works in mil
@@ -88,7 +90,7 @@ static char *expand(const struct pl_ctx *pl, const char *s,
}
break;
case 'D': // date
- cx = sheet->date;
+ cx = date_override ? date_override : sheet->date;
break;
case 'F': // file name
cx = sheet->file;