Skip to content

Commit

Permalink
Merge pull request #55 from 12gerts/fix-datetime
Browse files Browse the repository at this point in the history
fix UTC
  • Loading branch information
artamaney authored Dec 3, 2024
2 parents f65af43 + ba27a2c commit 9136680
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion overhave/utils/time.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@


def get_current_time() -> datetime.datetime:
return datetime.datetime.utcnow().replace(tzinfo=pytz.UTC)
return datetime.datetime.now(pytz.UTC)
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "overhave"
version = "5.2"
version = "5.2.1"
description = "Overhave - web-framework for BDD"
readme = "README.rst"
authors = [
Expand Down

0 comments on commit 9136680

Please sign in to comment.