mirror of
https://github.com/go-shiori/shiori.git
synced 2026-04-25 06:25:54 +03:00
[GH-ISSUE #121] Date issue when no LASTMODIFIED in HTML import #87
Labels
No labels
component:backend
component:builds
component:builds
component:extension
component:frontend
component:readability
database
database:mysql
database:postgres
database:sqlite
feature:ebooks
github_actions
good first issue
hacktoberfest
note:duplicate?
note:fixed?
note:out-of-scope?
os:windows
priority:high
priority:low
pull-request
resolution:as-intended
resolution:cant-reproduce
resolution:duplicate
resolution:fixed
resolution:wontfix
tag:TBD
tag:big-task
tag:help-wanted
tag:huge-data
tag:meta
tag:more-info
tag:next
tag:no-stale
tag:requires-migrations
tag:research
tag:security 🛡️
tag:stale
tag:waiting-for-assignee
type:bug
type:documentation
type:enhancement
type:meta
type:ux
user:cli
user:web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shiori#87
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @KillianKemps on GitHub (Jan 20, 2019).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/121
Hello,
I observed a bug which may be distinguished as two different issues. When importing a HTML file which contains no
LASTMODIFIEDattribute with Shiori, Shiori displaysAdded 1970-01-01 01:00:00 UTCon the cached page of all the imported items instead of the real date when the bookmark was added in the previous bookmark manager.The thing is, that this HTML file I imported was in fact exported by Shiori itself before. Items in Shiori HTML exports do not contain
LASTMODIFIEDattributes.Imported HTML bookmarks from Firefox and Buku display the correct date and not not have this issue.
An example of a Shiori HTML export which than has false dates after being imported by Shiori:
I think the first issue is that Shiori is not able to read the
ADD_DATEattribute alone when importing, and is only readingLASTMODIFED.The second issue is that Shiori omits the
LASTMODIFIEDinformation in the HTML export.@fmartingr commented on GitHub (Oct 7, 2022):
Hey @KillianKemps, better late than never! I've taken a look at this, and the export already contains the
LAST_MODIFIEDbut as you said the import wasn't usingLAST_MODIFIEDnorADD_DATE. I've tested this and fixed it in #490 along with the issue that made all imported bookmarks use the current date.