Skip to content

feat(rules): add an opt-in timezone rule - #52

Open
dualfroz wants to merge 1 commit into
olebedev:masterfrom
dualfroz:feat/23-timezone-rule
Open

dualfroz wants to merge 1 commit into
olebedev:masterfrom
dualfroz:feat/23-timezone-rule

Conversation

@dualfroz

@dualfroz dualfroz commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

common.Timezone reads UTC/GMT with an offset plus a small table of upper case abbreviations and sets Context.Location. its not in common.All so nothing changes unless you add it

closes #23

common.Timezone matches UTC and GMT with an optional offset (UTC+2,
GMT-05:30, GMT+0530) and a small table of upper case abbreviations
(EST, PDT, CET, ...), and sets Context.Location, so "10 pm EST" comes back
as 22:00 in a -05:00 zone. A timezone alone does not count as a match.
It is not added to common.All, so existing parsers behave as before.
@dualfroz
dualfroz requested a review from olebedev as a code owner October 3, 2026 14:28
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

Successfully merging this pull request may close these issues.

Ability to use a different timezone?

1 participant