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

Fix DeprecationWarning: datetime.datetime.utcfromtimestamp() #828

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

anthrotype
Copy link
Member

tests/fontInfoData_test.py::GetAttrWithFallbackTest::test_head_created[ufoLib2]
  /Users/clupo/oss/ufo2ft/Lib/ufo2ft/fontInfoData.py:107: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).

@anthrotype anthrotype merged commit 1223bec into main Mar 20, 2024
9 checks passed
@anthrotype anthrotype deleted the fix-deprecated-utcfromtimestamp branch March 20, 2024 13:48
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.

1 participant