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

Specifying the default time zone in feed.config.date #23

Open
trustin opened this issue Feb 19, 2023 · 1 comment
Open

Specifying the default time zone in feed.config.date #23

trustin opened this issue Feb 19, 2023 · 1 comment

Comments

@trustin
Copy link

trustin commented Feb 19, 2023

Hello! 👋 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.

@wezm
Copy link
Owner

wezm commented Feb 19, 2023

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"

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

2 participants