Exporter: add seconds in markdown export (#10065)

reviewable/pr10113/r1
Utsob Roy 1 year ago committed by GitHub
parent 5c81d72a2d
commit c9007b1e29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -46,7 +46,7 @@ local function prepareBookContent(book, formatting_options, highlight_formatting
current_chapter = entry.chapter
content = content .. "## " .. current_chapter .. "\n"
end
content = content .. "### Page " .. entry.page .. " @ " .. os.date("%d %B %Y %I:%M %p", entry.time) .. "\n"
content = content .. "### Page " .. entry.page .. " @ " .. os.date("%d %B %Y %I:%M:%S %p", entry.time) .. "\n"
if highlight_formatting then
content = content .. string.format(formatters[formatting_options[entry.drawer]].formatter, entry.text) .."\n"
else

Loading…
Cancel
Save