Skip to content

Fix #107: TimezoneManager.parseTimezone() references non-existent database.abbreviations#113

Merged
thedhanawada merged 1 commit intomasterfrom
fix/issue-107-tz-abbreviations
Mar 20, 2026
Merged

Fix #107: TimezoneManager.parseTimezone() references non-existent database.abbreviations#113
thedhanawada merged 1 commit intomasterfrom
fix/issue-107-tz-abbreviations

Conversation

@thedhanawada
Copy link
Copy Markdown
Collaborator

Fix

Changed this.database.abbreviations to this.database.aliases in parseTimezone() (TimezoneManager.js:368-372).

The TimezoneDatabase class stores timezone abbreviation mappings in this.aliases, but parseTimezone() was looking for this.database.abbreviations which doesn't exist. This caused all timezone abbreviation lookups (EST, PST, CET, etc.) to silently fail and fall through to the offset parser.

Files Changed

  • core/timezone/TimezoneManager.js — 3 lines changed (property name fix)

Fixes #107

The parseTimezone() method referenced this.database.abbreviations, but
TimezoneDatabase uses this.aliases. This caused timezone abbreviation
lookups (EST, PST, CET, etc.) to silently fail.

Fixes #107
@thedhanawada thedhanawada merged commit 0a7a9c8 into master Mar 20, 2026
8 checks passed
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.

TimezoneManager.parseTimezone() references non-existent database.abbreviations

1 participant