streetwriters / notesnook-importer

Import your notes from any app into Notesnook
https://importer.notesnook.com/
GNU General Public License v3.0
48 stars 9 forks source link

[OneNote Importer] Imported edit dates are not correct #24

Closed altano closed 2 years ago

altano commented 2 years ago

Describe the bug The default Notes view is to sort by Recent (date edited, descending). When importing notes the sort order looks totally chaotic and definitely not based on edit times. I have items I haven't touched in years at the top, whether I sort by ascending or descending.

For starters: when sorting by "Date Created", order=ascending goes from oldest to newest. When sorting by "Date Edited", order=ascending goes from newest to oldest.

For example, when sorting by "Date Edited" and order=descending, the top 3 notes in Notesnook have last edit dates (in OneNote) of:

  1. 2021/05/19
  2. 2020/03/01
  3. 2021/05/06

To Reproduce

  1. Have a OneNote note with a ton of notes with very variable edit times.
  2. Go to Notesnook Importer and perform OneNote import. Download .nnbackup file.
  3. Go to Notesnook desktop and click Settings -> Backup & restore -> Restore backup -> Select .nnbackup

Expected behavior

  1. Sorting by "Last edited" would accurately reflect the edit times from OneNote
  2. The date listed below the note will be the EDIT date when sorting by edit, and CREATE date when sorting by create. Otherwise it is just confusing?

Screenshots image

Desktop (please complete the following information):

Additional context

In my opinion, this is a medium severity issue

thecodrr commented 2 years ago

The new importer should fix this.