Skip to content

Commit 9136680

Browse files
authored
Merge pull request #55 from 12gerts/fix-datetime
fix UTC
2 parents f65af43 + ba27a2c commit 9136680

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

overhave/utils/time.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55

66

77
def get_current_time() -> datetime.datetime:
8-
return datetime.datetime.utcnow().replace(tzinfo=pytz.UTC)
8+
return datetime.datetime.now(pytz.UTC)

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "overhave"
3-
version = "5.2"
3+
version = "5.2.1"
44
description = "Overhave - web-framework for BDD"
55
readme = "README.rst"
66
authors = [

0 commit comments

Comments
 (0)