rsspls icon indicating copy to clipboard operation
rsspls copied to clipboard

Specifying the default time zone in `feed.config.date`

Open trustin opened this issue 2 years ago • 1 comments

Hello! :wave: It'd be nice if there a way to specify the time zone of the selected datetime text. rsspls currently assume UTC, which is not always correct.

trustin avatar Feb 19 '23 06:02 trustin

So this would be for when the actual text does not contain a time zone I assume?

I imagine an optional field on the date table might work?

[feed.config.date]
selector = "time"
type = "DateTime"
format = "[day padding:none]/[month padding:none]/[year] [hour repr:24]:[minute]"
timezone = "UTC+10"

wezm avatar Feb 19 '23 12:02 wezm