diff options
Diffstat (limited to 'nuldoc-src/slide')
| -rw-r--r-- | nuldoc-src/slide/slide.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuldoc-src/slide/slide.ts b/nuldoc-src/slide/slide.ts index 859bd56..a982d4f 100644 --- a/nuldoc-src/slide/slide.ts +++ b/nuldoc-src/slide/slide.ts @@ -1,6 +1,6 @@ import { Config } from "../config.ts"; import { SlideError } from "../errors.ts"; -import { Revision } from "../revision.ts"; +import { Revision, stringToDate } from "../revision.ts"; import { Element, findChildElements, @@ -99,7 +99,7 @@ export function createNewSlideFromRootElement( } return { number: i + 1, - date: innerText(dateElement).trim(), + date: stringToDate(innerText(dateElement).trim()), remark: innerText(revremarkElement).trim(), }; }, |
