diff --git a/modules/activitypub/clock.go b/modules/activitypub/clock.go index fff6c17c3c..f8970102e7 100644 --- a/modules/activitypub/clock.go +++ b/modules/activitypub/clock.go @@ -7,8 +7,6 @@ package activitypub import ( "time" - "code.gitea.io/gitea/modules/setting" - "github.com/go-fed/activity/pub" ) @@ -25,5 +23,5 @@ func NewClock() (c *Clock, err error) { // Now function func (c *Clock) Now() time.Time { - return time.Now().In(setting.DefaultUILocation) + return time.Now().Local() }