streetwriters / notesnook

A fully open source & end-to-end encrypted note taking alternative to Evernote.
https://notesnook.com/
GNU General Public License v3.0
9.39k stars 574 forks source link

Group notes by year after import is buggy #6191

Open nicosomb opened 1 month ago

nicosomb commented 1 month ago

What happened?

I have a NaN date when I import old notes (created in 2018) and when I want to group notes by year.

see #4730

Steps to reproduce the problem

Import old notes (with a creation date in 2018, it also occurs with a recent date in fact). Try to group your notes by creation year. You've got a NaN date.

The information about my note

Capture d’écran 2024-07-17 à 15 07 10

The notes, grouped by year

Capture d’écran 2024-07-17 à 15 07 16

Version

3.0.10-3a5b577-desktop

Platform/OS

macOS

Relevant log output

No response

DidierLmn commented 3 weeks ago

I've got the same problem, but weirdly "group by week" works without problems

Group by week image

Group by month image

Group by year image

Note Properties All notes have in the properties the proper created at and edited at image

dogception commented 2 days ago

Same exact problem after importing from Markdown with created_at and updated_at frontmatter