diff options
Diffstat (limited to 'nuldoc-src/docbook/document.ts')
| -rw-r--r-- | nuldoc-src/docbook/document.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuldoc-src/docbook/document.ts b/nuldoc-src/docbook/document.ts index 9f3221b..677c827 100644 --- a/nuldoc-src/docbook/document.ts +++ b/nuldoc-src/docbook/document.ts @@ -1,7 +1,7 @@ import { join } from "std/path/mod.ts"; import { Config } from "../config.ts"; import { DocBookError } from "../errors.ts"; -import { Revision } from "../revision.ts"; +import { Revision, stringToDate } from "../revision.ts"; import { Element, findChildElements, @@ -82,7 +82,7 @@ export function createNewDocumentFromRootElement( } return { number: i + 1, - date: innerText(dateElement).trim(), + date: stringToDate(innerText(dateElement).trim()), remark: innerText(revremarkElement).trim(), }; }, |
