core: proprely resolve class properties in make_config + add test
This commit is contained in:
parent
dda628e866
commit
e81dddddf0
7 changed files with 50 additions and 48 deletions
|
@ -42,6 +42,7 @@ def _created(n: orgparse.OrgNode) -> Tuple[Optional[datetime], str]:
|
|||
createds = m.group(0) # could be None
|
||||
if createds is None:
|
||||
return (None, heading)
|
||||
assert isinstance(createds, str)
|
||||
[odt] = orgparse.date.OrgDate.list_from_str(createds)
|
||||
dt = odt.start
|
||||
# todo a bit hacky..
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue