Skip to content

Commit

Permalink
Merge branch 'main' into interpolatable-filters
Browse files Browse the repository at this point in the history
  • Loading branch information
anthrotype authored Mar 25, 2024
2 parents f200412 + d0df0ab commit ac624aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Lib/ufo2ft/fontInfoData.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import os
import time
import unicodedata
from datetime import datetime
from datetime import datetime, timezone

from fontTools import ufoLib
from fontTools.misc.fixedTools import otRound
Expand Down Expand Up @@ -104,7 +104,7 @@ def openTypeHeadCreatedFallback(info):
now.
"""
if "SOURCE_DATE_EPOCH" in os.environ:
t = datetime.utcfromtimestamp(int(os.environ["SOURCE_DATE_EPOCH"]))
t = datetime.fromtimestamp(int(os.environ["SOURCE_DATE_EPOCH"]), timezone.utc)
return t.strftime(_date_format)
else:
return dateStringForNow()
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
fonttools[ufo,lxml]==4.50.0
fonttools[lxml,ufo]==4.50.0
defcon==0.10.3
compreffor==0.5.5
booleanOperations==0.9.0
Expand Down

0 comments on commit ac624aa

Please sign in to comment.