waschinski / photo-stream

Self-hosted, super simple photo stream
https://github.com/waschinski/photo-stream
MIT License
448 stars 68 forks source link

Wrong timezone in RSS feed #64

Open nicosomb opened 1 year ago

nicosomb commented 1 year ago

I want to define the correct timezone for my website. For example, I have this date in my RSS feed:

<published>2023-03-03T14:11:01+00:00</published>

But in my feed agregator, the item is displayed in the future, at 3:11PM (FYI, I'm in France and I don't have the same datetime configuration than you).

waschinski commented 11 months ago

Afaik time zone information is in separate exif tags, so the question would be how to get it properly and what to do when it's not present. For <published> the DateTime tag is simply being used which probably doesn't know about the time zone so the question is what is set there on your image and to what does it get converted if at all.