Skip to content

Avoid an error if Offset.update() hasn't been called yet.#1070

Merged
jelmer merged 1 commit intoisso-comments:masterfrom
afranchuk:master
Oct 28, 2025
Merged

Avoid an error if Offset.update() hasn't been called yet.#1070
jelmer merged 1 commit intoisso-comments:masterfrom
afranchuk:master

Conversation

@afranchuk
Copy link
Contributor

Closes #1069.

Checklist

  • All new and existing tests are passing
  • I have added an entry to CHANGES.rst because this is a user-facing change or an important bugfix
  • I have written proper commit message(s)

What changes does this Pull Request introduce?

This fixes a bug where Offset.localTime() will throw an error if called before Offset.update().

Why is this necessary?

#1069

@afranchuk
Copy link
Contributor Author

The E2E test failures seem unrelated to this change.

@jelmer
Copy link
Member

jelmer commented Oct 28, 2025

The E2E test failures seem unrelated to this change.

Yeah, see #1068

@jelmer jelmer merged commit 5a13001 into isso-comments:master Oct 28, 2025
18 of 19 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.

Timing-dependentembed.min.js issue causes sporadic "Uncaught TypeError: Reduce" fatal errors

2 participants