jrnl: adding entries now works!!
This commit is contained in:
parent
b967f6e90e
commit
aaec1f1f78
5 changed files with 89 additions and 13 deletions
|
@ -58,7 +58,11 @@ impl ToMd for Entry<'_> {
|
|||
fn to_md(&self) -> String {
|
||||
format!(
|
||||
"## {}: {}\n\n{}\n\n",
|
||||
self.timestamp, self.title, self.content
|
||||
self.timestamp
|
||||
.fixed_offset()
|
||||
.to_rfc3339_opts(chrono::SecondsFormat::Secs, false),
|
||||
self.title,
|
||||
self.content
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue