Skip to content

Commit

Permalink
OMERO.web integration tests: expect timestamp without milliseconds
Browse files Browse the repository at this point in the history
  • Loading branch information
sbesson committed Jan 23, 2024
1 parent 5d1f4d4 commit 2cab58d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def annotate_project(ann, project, user):


def expected_date(time):
d = datetime.fromtimestamp(time / 1000)
d = datetime.fromtimestamp(time // 1000)
# Add time-zone awareness. Use default TIME_ZONE setting
tz = pytz.timezone("Europe/London")
d = tz.localize(d)
Expand Down

0 comments on commit 2cab58d

Please sign in to comment.