Gruntfuggly / vscode-journal-view

Adds a sidebar viewlet for vscode-journal
25 stars 9 forks source link

Unable to handle filenames other than the date #1

Closed ignism closed 6 years ago

ignism commented 6 years ago

the journal consists of following folder structure:

Journal
    - #### (year)
        - ## (month)
            - ##.md (day, as file)
            - ## (day as folder)
                - title.md (created when a named note is created)

The viewer doesn't handle the named notes correctly. See the screenshot below:

screen shot 2018-03-14 at 14 32 14

For convenience the file explorer is shown above the journal viewer. As you can see I opened planning.md, the viewer refers to this as Invalid Date NaNth

Gruntfuggly commented 6 years ago

Thanks for the report - I've never used the notes feature before, so I didn't take it into account.

Gruntfuggly commented 6 years ago

Please try the latest version.

ignism commented 6 years ago

Yep! It works now, thank you very much!