jrnl-org / jrnl

Collect your thoughts and notes without leaving the command line.
https://jrnl.sh
GNU General Public License v3.0
6.49k stars 523 forks source link

Unable to export multiple entries with the same name on the same day when exporting to directory #588

Open micahellison opened 5 years ago

micahellison commented 5 years ago

Steps to reproduce:

jrnl 1:00: test
jrnl 2:00: test
jrnl --export md -o .

Expected results: should probably have two files (one for entry) in the current folder.

Actual results:

The only file that appears is:

2019-04-20_test.md

And its contents only contain the second entry:

# 2019-04-20 02:00 test

It looks like the exporter is writing both entries, except overwriting the first entry with the second because it has the same name.

Uncovered while repro'ing #580 which is due in part to the same issue.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

lock[bot] commented 4 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.