Parsing date from LOGBOOK
tags:
dates
date
logbook
Description/Summary
Parse the date from an entry like
"- State "DONE" from "DRAFT" [2018-09-06 Thu 11:25]
.
Content
ox-hugo
Issue #203
In the case of multiple "State "DONE" from .."
entries, use the
oldest entry to set the date
.
Page (Debug)
Page Params (Debug)
Key | Type | Value |
date | time.Time |
2018-09-06 11:38:00 +0000 UTC
|
description | string |
" Parse the date from an entry like `\"- State \"DONE\" from \"DRAFT\"\n [2018-09-06 Thu 11:25]`.\n "
|
draft | bool |
false
|
iscjklanguage | bool |
false
|
lastmod | time.Time |
2022-05-12 00:48:10 -0400 -0400
|
publishdate | time.Time |
2018-09-06 11:38:00 +0000 UTC
|
tags | []string |
"dates"
"date"
"logbook"
|
title | string |
"Parsing date from LOGBOOK"
|
File Object (Debug)
FileInfo Variable | Value |
UniqueID |
"d344103ce4c20a1422345196431d59ef"
|
BaseFileName |
"parsing-date-from-logbook"
|
TranslationBaseName |
"parsing-date-from-logbook"
|
Lang |
"en"
|
Section |
"posts"
|
LogicalName |
"parsing-date-from-logbook.md"
|
Dir |
"posts/"
|
Ext |
"md"
|
Path |
"posts/parsing-date-from-logbook.md"
|