${CURRENT_DATE} doesn't resolve in title block
Description
Most text variables resolve in both text objects and in fields in the sheet title block. ${CURRENT_DATE}
seems to be the exception: it resolves in text objects but not in the sheet title block. Someone might want to use this in the ISSUE_DATE field, for example.
The behavior is the same in eeschema and pcbnew. I checked the other text variables and they seem fine.
Steps to reproduce
- open demo project current_date_title_block.zip, or
- open page settings dialog
- add
${CURRENT_DATE}
to comment1 - observe that it doesn't resolve
- add
${CURRENT_DATE}
to a text object - observe that it resolves
KiCad Version
Application: KiCad Schematic Editor arm64 on arm64
Version: 8.0.0, release build
Libraries:
wxWidgets 3.2.4
FreeType 2.13.2
HarfBuzz 8.2.0
FontConfig 2.14.2
Platform: macOS Monterey Version 12.7.1 (Build 21G920), 64 bit, Little endian, wxMac
wxWidgets: 3.2.4 (wchar_t,wx containers)
Boost: 1.82.0
OCC: 7.7.2
Curl: 7.87.0
ngspice: 42
Compiler: Clang 14.0.3 with C++ ABI 1002
Build settings: