Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Articles showing dummy date of 12/31/1969 in "Last Update" column #1832

Open
tonycpsu opened this issue Oct 14, 2024 · 12 comments
Open

Articles showing dummy date of 12/31/1969 in "Last Update" column #1832

tonycpsu opened this issue Oct 14, 2024 · 12 comments
Assignees

Comments

@tonycpsu
Copy link

Describe the bug
Since the most recent update, some of my articles are showing dummy date of 12/31/1969 in "Last Update" column.

To Reproduce
Not sure what caused it, but it seemed to appear around when I upgraded to Version 3.9.3 :fd467d52: (8375)

I use Inoreader as my feed backend, if that is relevant.

Screenshots
image

Please complete the following information:

  • Vienna version: Version 3.9.3 :fd467d52: (8375)
  • OS version: 14.1.1 (23B81)

Additional information:

@tonycpsu
Copy link
Author

Downgrading to 3.9.2 seems to fix this, FWIW.

@TAKeanice
Copy link
Contributor

Thank you, we thought we had made sure that no default date of 0 (milliseconds after 1.1.1970 00:00 UTC) can appear anywhere. Can you tell us the feed source as well? Then we can make sure that we refine the feature to avoid that behavior.
Can you add the column for creation date and see what that shows in cases when updated date is 0?

@tonycpsu
Copy link
Author

Feed source is Inoreader -- it seems to affect all of my feeds, not a single RSS source.

Here's what it looks like with 3.9.3 release with published date visible.

image

@TAKeanice TAKeanice self-assigned this Oct 19, 2024
@TAKeanice
Copy link
Contributor

TAKeanice commented Oct 20, 2024

Bildschirmfoto 2024-10-20 um 22 12 17

Another anomaly here: Date published is later than last update
This is the Github feed for recent commits to vienna´s master branch (an atom feed)

@TAKeanice
Copy link
Contributor

I was not able to find the source of such anomalies. According to the current code, if the feed source does not contain the last update, it is set to the publication date if that exists, or to the date when the article was received. For the publication date, if the feed does not contain it, the updated date (if it exists) or the current date is used, whatever is earlier.

@barijaona, @josh64x2 or @Eitot, maybe you can find a reason for the observed anomalies.

I am not sure about my anomaly, it could have been caused by using a development version of Vienna. @tonycpsu did you use any beta version?

@joostdekeijzer
Copy link

Not sure if it's related but using Version 3.9.3 :fd467d52: (8375) I get the date "01-01-1970, 01:00" for both published as updated dates. The source of the feed seems correct?

I think this only happens after a refresh when an article was already there and is updated?

image

@TAKeanice
Copy link
Contributor

TAKeanice commented Oct 26, 2024

Not sure if it's related

It certainly is.

I get the date "01-01-1970, 01:00" for both published as updated dates. The source of the feed seems correct?

Looks like the source is correct, have to look up whether "pubDate" is taken into account though. The date is the same as in the other cases, "0" but in your time zone.

I think this only happens after a refresh when an article was already there and is updated?

That's a good hint and in my case, I had the same gut feeling but couldn't find the code causing that. I will try another time this weekend.

@TAKeanice
Copy link
Contributor

I just realized that the RefreshManager is also manipulating the article dates, which may be causing effects that I have not considered so far.

@joostdekeijzer
Copy link

Hi TAKeanice,

Just to inform you: with Version 3.9.4 :498937af: (8382) I'm still getting reset dates...

From some WordPress blogs I'm following and eg. the example below from which I know it's an updated article.

Screenshot 2024-10-30 at 10 42 45

@TAKeanice
Copy link
Contributor

Hi @joostdekeijzer , thank you for adding that example. I suspect the RefreshManager, which I didn't fix in the last update, is the culprit. I hope to find some time this weekend to figure it out and create a fix.

@barijaona
Copy link
Member

I just subscribed to https://exiftool.org/rss.xml and I do not reproduce the issue…

Capture d’écran 2024-10-31 à 21 38 46

@joostdekeijzer
Copy link

@barijaona

I just subscribed to https://exiftool.org/rss.xml and I do not reproduce the issue…

The issue occurs when an article in the feed is updated by that site. That does not happen very often (and ExifTool is not a very busy feed anyway).

Some other feed I get the 1970 issue with just now (after refresh of article) is https://feeds.feedburner.com/9To5Mac-MacAllDay .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants