File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,11 @@ jobs:
11
11
12
12
steps :
13
13
- name : Checkout repository
14
- uses : actions/checkout@v2
14
+ uses : actions/checkout@v4
15
15
16
16
- name : Set up Python ${{ matrix.python-version }}
17
17
18
- uses : actions/setup-python@v2
18
+ uses : actions/setup-python@v4
19
19
with :
20
20
# until saxonche is available in 3.13
21
21
# https://saxonica.plan.io/issues/6561
Original file line number Diff line number Diff line change @@ -533,7 +533,8 @@ def _add_provenance_entry(
533
533
# DD version after IMAS-5304
534
534
node .reference .resize (len (node .reference ) + 1 , keep = True )
535
535
node .reference [- 1 ].name = source_txt
536
- timestamp = datetime .datetime .now (datetime .UTC ).isoformat (timespec = "seconds" )
536
+ utc = getattr (datetime , "UTC" , datetime .timezone .utc )
537
+ timestamp = datetime .datetime .now (utc ).isoformat (timespec = "seconds" )
537
538
node .reference [- 1 ].timestamp = timestamp .replace ("+00:00" , "Z" )
538
539
else :
539
540
# DD before IMAS-5304 (between 3.34.0 and 3.41.0)
You can’t perform that action at this time.
0 commit comments