microdotblog / issues

43 stars 0 forks source link

Date Bug in RSS feeds #113

Open andylaw opened 5 years ago

andylaw commented 5 years ago

RSS feed constructs URLs with the wrong date on occasion. For example, post from Brent Simmons (brent.micro.blog) titled "I'm up to four Micro.blog accounts now!" appears in my RSS feed (via Feedly) as http://brent.micro.blog/2018/12/12/im-up-to.html but should actually be http://brent.micro.blog/2018/12/11/im-up-to.html

I suspect that timezones may be getting converted to UTC in the database and then converted back again for URL presentation but not for RSS generation?

manton commented 5 years ago

Thanks! I believe that Feedly is using the "guid" (which uses the date in UTC) in the RSS feed instead of the "link", which is the actual URL that should be used in the browser. I think in the short-term I'm going to change this so that RSS readers like Feedly don't think the "guid" is the permalink. Long-term I'd like to figure out a way to make these URLs consistent without breaking old posts.