Skip to content

Commit

Permalink
Use GMT time zone in faketime dates
Browse files Browse the repository at this point in the history
This ensures that the interpretation of date strings isn't subject to
the test system's time zone.
  • Loading branch information
dmnks committed Jun 6, 2024
1 parent 6902047 commit c9001f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnf-behave-tests/dnf/steps/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def faketime(context, direction, when):
return
else:
time = when
context.faketime = "faketime '%s' " % time
context.faketime = "faketime '%s GMT' " % time


@behave.step("today is {when}")
Expand Down

0 comments on commit c9001f8

Please sign in to comment.