Skip to content

Commit

Permalink
fix: changed time to timestamp (#2217)
Browse files Browse the repository at this point in the history
  • Loading branch information
NarayanBavisetti authored Sep 19, 2023
1 parent ce562fa commit 63c4792
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apiserver/plane/api/views/issue.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def perform_update(self, serializer):
current_instance=json.dumps(
IssueSerializer(current_instance).data, cls=DjangoJSONEncoder
),
epoch = int(timezone.now().time())
epoch = int(timezone.now().timestamp())
)

return super().perform_update(serializer)
Expand Down Expand Up @@ -2412,7 +2412,7 @@ def perform_update(self, serializer):
current_instance=json.dumps(
IssueSerializer(current_instance).data, cls=DjangoJSONEncoder
),
epoch = int(timezone.now().time())
epoch = int(timezone.now().timestamp())
)

return super().perform_update(serializer)
Expand Down

2 comments on commit 63c4792

@vercel
Copy link

@vercel vercel bot commented on 63c4792 Sep 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

plane-sh-dev – ./space/

plane-sh-dev-plane.vercel.app
plane-space-dev.vercel.app
plane-sh-dev-git-develop-plane.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 63c4792 Sep 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

plane-dev – ./web/

plane-dev.vercel.app
plane-dev-git-develop-plane.vercel.app
plane-dev-plane.vercel.app

Please sign in to comment.