We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e3c987 commit e22a751Copy full SHA for e22a751
apiserver/plane/utils/timezone_converter.py
@@ -77,7 +77,7 @@ def convert_to_utc(
77
current_datetime_in_project_tz = timezone.now().astimezone(local_tz)
78
current_datetime_in_utc = current_datetime_in_project_tz.astimezone(pytz.utc)
79
80
- if utc_datetime.date() == current_datetime_in_utc.date():
+ if localized_datetime.date() == current_datetime_in_project_tz.date():
81
return current_datetime_in_utc
82
83
return utc_datetime
0 commit comments